#9951E5#9951E5

#9951E5 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.3% C 0.215 H 302.6°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#9951E5
RGBrgb(153, 81, 229)
HSLhsl(269, 74%, 61%)
HSVhsv(269, 65%, 90%)
CMYKcmyk(33.2%, 64.6%, 0%, 10.2%)
CIE-LABlab(49.88, 57.31, -63.88)
CIE-LCHlch(49.88, 85.82, 311.90°)
OKLaboklab(59.29% 0.1162 -0.1814)
OKLCHoklch(59.29% 0.215 302.6)
XYZxyz(30.2189, 18.3143, 76.0565)
Luminance0.1831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9951E5 #9DE551
analogous
#5153E5 #9951E5 #E351E5
triadic
#9951E5 #E59951 #51E599
tetradic
#9951E5 #E55153 #9DE551 #51E5E3
square
#9951E5 #E55153 #9DE551 #51E5E3
split-complementary
#9951E5 #E5E351 #53E551
monochromatic
#5C18A3 #7A20D8 #9951E5 #B886ED #D7BBF5

Accessibility & contrast

On white

4.50
#9951E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#9951E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9951E5
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9951E5#FFFFFF#000000##000000
##9951E51.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075EA
Deuteranopia (green-blind)
#1876E2
Tritanopia (blue-blind)
#8A7294
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9951e5;
/* rgb */ color: rgb(153, 81, 229);
/* oklch */ color: oklch(59.3% 0.215 302.6);
Tailwind
colors: {
  custom: {
    50: '#bc86ee',
    500: '#9951e5',
    950: '#000000',
  },
}
SCSS
$custom: #9951e5;
$custom-light: #bc86ee;
$custom-dark: #000000;
JSON
{
  "hex": "#9951e5",
  "rgb": {
    "r": 153,
    "g": 81,
    "b": 229
  },
  "hsl": {
    "h": 269.189,
    "s": 74,
    "l": 60.784
  },
  "oklch": {
    "l": 0.59286,
    "c": 0.21548,
    "h": 302.6
  },
  "luminance": 0.18314
}

Semantic roles & 50–950 ramp

primary
#9951E5
secondary
#CAE5AD
accent
#D60F75
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9951E5

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

Preview Lab → · Contrast checker → · Palette generator →

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