#9951DF#9951DF

#9951DF is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.9% C 0.209 H 304.0°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#9951DF
RGBrgb(153, 81, 223)
HSLhsl(270, 69%, 60%)
HSVhsv(270, 64%, 87%)
CMYKcmyk(31.4%, 63.7%, 0%, 12.5%)
CIE-LABlab(49.48, 55.90, -61.12)
CIE-LCHlch(49.48, 82.83, 312.44°)
OKLaboklab(58.87% 0.1167 -0.1733)
OKLCHoklch(58.87% 0.209 304)
XYZxyz(29.3956, 17.9850, 71.7205)
Luminance0.1799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9951DF #97DF51
analogous
#5251DF #9951DF #DF51DE
triadic
#9951DF #DF9951 #51DF99
tetradic
#9951DF #DF5251 #97DF51 #51DEDF
square
#9951DF #DF5251 #97DF51 #51DEDF
split-complementary
#9951DF #DEDF51 #51DF52
monochromatic
#5C1C99 #7B26CD #9951DF #B785E9 #D6B8F2

Accessibility & contrast

On white

4.57
#9951DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#9951DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9951DF
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9951DF#FFFFFF#000000##000000
##9951DF1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E3
Deuteranopia (green-blind)
#2676DC
Tritanopia (blue-blind)
#8C7091
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9951df;
/* rgb */ color: rgb(153, 81, 223);
/* oklch */ color: oklch(58.9% 0.209 304.0);
Tailwind
colors: {
  custom: {
    50: '#bc86ea',
    500: '#9951df',
    950: '#000000',
  },
}
SCSS
$custom: #9951df;
$custom-light: #bc86ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9951df",
  "rgb": {
    "r": 153,
    "g": 81,
    "b": 223
  },
  "hsl": {
    "h": 270.423,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58873,
    "c": 0.20899,
    "h": 304
  },
  "luminance": 0.17985
}

Semantic roles & 50–950 ramp

primary
#9951DF
secondary
#C6E1AA
accent
#EC3C93
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9951DF

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

Preview Lab → · Contrast checker → · Palette generator →

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