#9B72C8#9B72C8

#9B72C8 is a light, vivid violet. Relative luminance 0.232; OKLCH L 62.8% C 0.132 H 304.9°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#9B72C8
RGBrgb(155, 114, 200)
HSLhsl(269, 44%, 62%)
HSVhsv(269, 43%, 78%)
CMYKcmyk(22.5%, 43%, 0%, 21.6%)
CIE-LABlab(55.25, 33.16, -38.84)
CIE-LCHlch(55.25, 51.07, 310.49°)
OKLaboklab(62.77% 0.0754 -0.1082)
OKLCHoklch(62.77% 0.132 304.9)
XYZxyz(29.9580, 23.1735, 57.5271)
Luminance0.2317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B72C8 #9FC872
analogous
#7274C8 #9B72C8 #C672C8
triadic
#9B72C8 #C89B72 #72C89B
tetradic
#9B72C8 #C87274 #9FC872 #72C8C6
square
#9B72C8 #C87274 #9FC872 #72C8C6
split-complementary
#9B72C8 #C8C672 #74C872
monochromatic
#5E368A #7C47B6 #9B72C8 #BA9ED9 #D9CAEA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B72C8#FFFFFF#000000##000000
##9B72C81.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)
#5D83CB
Deuteranopia (green-blind)
#6684C6
Tritanopia (blue-blind)
#948093
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9b72c8;
/* rgb */ color: rgb(155, 114, 200);
/* oklch */ color: oklch(62.8% 0.132 304.9);
Tailwind
colors: {
  custom: {
    50: '#ba9bd9',
    500: '#9b72c8',
    950: '#000000',
  },
}
SCSS
$custom: #9b72c8;
$custom-light: #ba9bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#9b72c8",
  "rgb": {
    "r": 155,
    "g": 114,
    "b": 200
  },
  "hsl": {
    "h": 268.605,
    "s": 43.878,
    "l": 61.569
  },
  "oklch": {
    "l": 0.62766,
    "c": 0.13194,
    "h": 304.9
  },
  "luminance": 0.23173
}

Semantic roles & 50–950 ramp

primary
#9B72C8
secondary
#CCDBBB
accent
#B72E76
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#120E14
muted
#817E83

Preview Lab

Preview with #9B72C8

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

Preview Lab → · Contrast checker → · Palette generator →

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