#9951DD#9951DD

#9951DD is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.7% C 0.207 H 304.4°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#9951DD
RGBrgb(153, 81, 221)
HSLhsl(271, 67%, 59%)
HSVhsv(271, 63%, 87%)
CMYKcmyk(30.8%, 63.3%, 0%, 13.3%)
CIE-LABlab(49.35, 55.43, -60.20)
CIE-LCHlch(49.35, 81.83, 312.64°)
OKLaboklab(58.74% 0.1169 -0.1706)
OKLCHoklch(58.74% 0.207 304.4)
XYZxyz(29.1275, 17.8777, 70.3088)
Luminance0.1788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9951DD #95DD51
analogous
#5351DD #9951DD #DD51DB
triadic
#9951DD #DD9951 #51DD99
tetradic
#9951DD #DD5351 #95DD51 #51DBDD
square
#9951DD #DD5351 #95DD51 #51DBDD
split-complementary
#9951DD #DBDD51 #51DD53
monochromatic
#5C1D96 #7B27C9 #9951DD #B784E7 #D5B7F1

Accessibility & contrast

On white

4.59
#9951DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#9951DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9951DD
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9951DD#FFFFFF#000000##FFFFFF
##9951DD1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E1
Deuteranopia (green-blind)
#2A75DA
Tritanopia (blue-blind)
#8D6F90
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9951dd;
/* rgb */ color: rgb(153, 81, 221);
/* oklch */ color: oklch(58.7% 0.207 304.4);
Tailwind
colors: {
  custom: {
    50: '#bb86e8',
    500: '#9951dd',
    950: '#000000',
  },
}
SCSS
$custom: #9951dd;
$custom-light: #bb86e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9951dd",
  "rgb": {
    "r": 153,
    "g": 81,
    "b": 221
  },
  "hsl": {
    "h": 270.857,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.58738,
    "c": 0.20682,
    "h": 304.4
  },
  "luminance": 0.17878
}

Semantic roles & 50–950 ramp

primary
#9951DD
secondary
#C4E0AA
accent
#EA3E91
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9951DD

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

Preview Lab → · Contrast checker → · Palette generator →

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