#9951DC#9951DC

#9951DC is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.7% C 0.206 H 304.6°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#9951DC
RGBrgb(153, 81, 220)
HSLhsl(271, 67%, 59%)
HSVhsv(271, 63%, 86%)
CMYKcmyk(30.5%, 63.2%, 0%, 13.7%)
CIE-LABlab(49.28, 55.20, -59.74)
CIE-LCHlch(49.28, 81.33, 312.74°)
OKLaboklab(58.67% 0.1169 -0.1693)
OKLCHoklch(58.67% 0.206 304.6)
XYZxyz(28.9947, 17.8246, 69.6093)
Luminance0.1782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9951DC #94DC51
analogous
#5451DC #9951DC #DC51DA
triadic
#9951DC #DC9951 #51DC99
tetradic
#9951DC #DC5451 #94DC51 #51DADC
square
#9951DC #DC5451 #94DC51 #51DADC
split-complementary
#9951DC #DADC51 #51DC54
monochromatic
#5B1E95 #7B28C8 #9951DC #B784E6 #D5B7F0

Accessibility & contrast

On white

4.60
#9951DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#9951DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9951DC
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9951DC#FFFFFF#000000##FFFFFF
##9951DC1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E0
Deuteranopia (green-blind)
#2C75D9
Tritanopia (blue-blind)
#8D6E8F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9951dc;
/* rgb */ color: rgb(153, 81, 220);
/* oklch */ color: oklch(58.7% 0.206 304.6);
Tailwind
colors: {
  custom: {
    50: '#bb86e8',
    500: '#9951dc',
    950: '#000000',
  },
}
SCSS
$custom: #9951dc;
$custom-light: #bb86e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9951dc",
  "rgb": {
    "r": 153,
    "g": 81,
    "b": 220
  },
  "hsl": {
    "h": 271.079,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.5867,
    "c": 0.20573,
    "h": 304.6
  },
  "luminance": 0.17824
}

Semantic roles & 50–950 ramp

primary
#9951DC
secondary
#C3E0A9
accent
#E93E91
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9951DC

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

Preview Lab → · Contrast checker → · Palette generator →

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