#9951EA#9951EA

#9951EA is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.6% C 0.221 H 301.6°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#9951EA
RGBrgb(153, 81, 234)
HSLhsl(268, 78%, 62%)
HSVhsv(268, 65%, 92%)
CMYKcmyk(34.6%, 65.4%, 0%, 8.2%)
CIE-LABlab(50.21, 58.50, -66.15)
CIE-LCHlch(50.21, 88.31, 311.49°)
OKLaboklab(59.64% 0.1157 -0.1881)
OKLCHoklch(59.64% 0.221 301.6)
XYZxyz(30.9270, 18.5975, 79.7863)
Luminance0.1860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9951EA #A2EA51
analogous
#5156EA #9951EA #E551EA
triadic
#9951EA #EA9951 #51EA99
tetradic
#9951EA #EA5156 #A2EA51 #51EAE5
square
#9951EA #EA5156 #A2EA51 #51EAE5
split-complementary
#9951EA #EAE551 #56EA51
monochromatic
#5C15AC #791BE2 #9951EA #B988F1 #D9BEF7

Accessibility & contrast

On white

4.45
#9951EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#9951EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9951EA
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9951EA#FFFFFF#000000##000000
##9951EA1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076EF
Deuteranopia (green-blind)
#0177E7
Tritanopia (blue-blind)
#887497
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9951ea;
/* rgb */ color: rgb(153, 81, 234);
/* oklch */ color: oklch(59.6% 0.221 301.6);
Tailwind
colors: {
  custom: {
    50: '#bc86f2',
    500: '#9951ea',
    950: '#000000',
  },
}
SCSS
$custom: #9951ea;
$custom-light: #bc86f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9951ea",
  "rgb": {
    "r": 153,
    "g": 81,
    "b": 234
  },
  "hsl": {
    "h": 268.235,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.59636,
    "c": 0.22087,
    "h": 301.6
  },
  "luminance": 0.18598
}

Semantic roles & 50–950 ramp

primary
#9951EA
secondary
#CDE8AF
accent
#DB0B79
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9951EA

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

Preview Lab → · Contrast checker → · Palette generator →

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