#9B72C7#9B72C7

#9B72C7 is a light, vivid violet. Relative luminance 0.231; OKLCH L 62.7% C 0.131 H 305.2°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#9B72C7
RGBrgb(155, 114, 199)
HSLhsl(269, 43%, 61%)
HSVhsv(269, 43%, 78%)
CMYKcmyk(22.1%, 42.7%, 0%, 22%)
CIE-LABlab(55.20, 32.92, -38.34)
CIE-LCHlch(55.20, 50.54, 310.65°)
OKLaboklab(62.71% 0.0753 -0.1068)
OKLCHoklch(62.71% 0.131 305.2)
XYZxyz(29.8416, 23.1269, 56.9136)
Luminance0.2313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B72C7 #9EC772
analogous
#7274C7 #9B72C7 #C672C7
triadic
#9B72C7 #C79B72 #72C79B
tetradic
#9B72C7 #C77274 #9EC772 #72C7C6
square
#9B72C7 #C77274 #9EC772 #72C7C6
split-complementary
#9B72C7 #C7C672 #74C772
monochromatic
#5E3688 #7C48B4 #9B72C7 #BA9ED8 #D9CAEA

Accessibility & contrast

On white

3.73
#9B72C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#9B72C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B72C7
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B72C7#FFFFFF#000000##000000
##9B72C71.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D83CA
Deuteranopia (green-blind)
#6784C5
Tritanopia (blue-blind)
#948093
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9b72c7;
/* rgb */ color: rgb(155, 114, 199);
/* oklch */ color: oklch(62.7% 0.131 305.2);
Tailwind
colors: {
  custom: {
    50: '#ba9bd8',
    500: '#9b72c7',
    950: '#000000',
  },
}
SCSS
$custom: #9b72c7;
$custom-light: #ba9bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#9b72c7",
  "rgb": {
    "r": 155,
    "g": 114,
    "b": 199
  },
  "hsl": {
    "h": 268.941,
    "s": 43.147,
    "l": 61.373
  },
  "oklch": {
    "l": 0.62714,
    "c": 0.13068,
    "h": 305.2
  },
  "luminance": 0.23127
}

Semantic roles & 50–950 ramp

primary
#9B72C7
secondary
#CBDABB
accent
#B62F75
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#120E14
muted
#817E83

Preview Lab

Preview with #9B72C7

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#9B72C7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva