#9951E9#9951E9

#9951E9 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.6% C 0.220 H 301.8°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#9951E9
RGBrgb(153, 81, 233)
HSLhsl(268, 78%, 62%)
HSVhsv(268, 65%, 91%)
CMYKcmyk(34.3%, 65.2%, 0%, 8.6%)
CIE-LABlab(50.14, 58.26, -65.70)
CIE-LCHlch(50.14, 87.81, 311.57°)
OKLaboklab(59.57% 0.1158 -0.1868)
OKLCHoklch(59.57% 0.22 301.8)
XYZxyz(30.7838, 18.5402, 79.0318)
Luminance0.1854 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9951E9 #A1E951
analogous
#5155E9 #9951E9 #E551E9
triadic
#9951E9 #E99951 #51E999
tetradic
#9951E9 #E95155 #A1E951 #51E9E5
square
#9951E9 #E95155 #A1E951 #51E9E5
split-complementary
#9951E9 #E9E551 #55E951
monochromatic
#5C16AA #791CE0 #9951E9 #B987F0 #D9BEF7

Accessibility & contrast

On white

4.46
#9951E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#9951E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9951E9
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9951E9#FFFFFF#000000##000000
##9951E91.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076EE
Deuteranopia (green-blind)
#0777E6
Tritanopia (blue-blind)
#887396
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9951e9;
/* rgb */ color: rgb(153, 81, 233);
/* oklch */ color: oklch(59.6% 0.220 301.8);
Tailwind
colors: {
  custom: {
    50: '#bc86f1',
    500: '#9951e9',
    950: '#000000',
  },
}
SCSS
$custom: #9951e9;
$custom-light: #bc86f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9951e9",
  "rgb": {
    "r": 153,
    "g": 81,
    "b": 233
  },
  "hsl": {
    "h": 268.421,
    "s": 77.551,
    "l": 61.569
  },
  "oklch": {
    "l": 0.59566,
    "c": 0.21979,
    "h": 301.8
  },
  "luminance": 0.1854
}

Semantic roles & 50–950 ramp

primary
#9951E9
secondary
#CCE7AF
accent
#DA0C78
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9951E9

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

Preview Lab → · Contrast checker → · Palette generator →

#9951E9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva