#9959DD#9959DD

#9959DD is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.8% C 0.196 H 303.3°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#9959DD
RGBrgb(153, 89, 221)
HSLhsl(269, 66%, 61%)
HSVhsv(269, 60%, 87%)
CMYKcmyk(30.8%, 59.7%, 0%, 13.3%)
CIE-LABlab(50.85, 51.38, -57.78)
CIE-LCHlch(50.85, 77.32, 311.64°)
OKLaboklab(59.83% 0.1075 -0.1636)
OKLCHoklch(59.83% 0.196 303.3)
XYZxyz(29.7574, 19.1376, 70.5188)
Luminance0.1914 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9959DD #9DDD59
analogous
#595BDD #9959DD #DB59DD
triadic
#9959DD #DD9959 #59DD99
tetradic
#9959DD #DD595B #9DDD59 #59DDDB
square
#9959DD #DD595B #9DDD59 #59DDDB
split-complementary
#9959DD #DDDB59 #5BDD59
monochromatic
#5C209C #7A2ACF #9959DD #B88CE7 #D7BFF2

Accessibility & contrast

On white

4.35
#9959DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#9959DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9959DD
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9959DD#FFFFFF#000000##000000
##9959DD1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1178E1
Deuteranopia (green-blind)
#3779DA
Tritanopia (blue-blind)
#8C7493
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9959dd;
/* rgb */ color: rgb(153, 89, 221);
/* oklch */ color: oklch(59.8% 0.196 303.3);
Tailwind
colors: {
  custom: {
    50: '#bb8be8',
    500: '#9959dd',
    950: '#000000',
  },
}
SCSS
$custom: #9959dd;
$custom-light: #bb8be8;
$custom-dark: #000000;
JSON
{
  "hex": "#9959dd",
  "rgb": {
    "r": 153,
    "g": 89,
    "b": 221
  },
  "hsl": {
    "h": 269.091,
    "s": 66,
    "l": 60.784
  },
  "oklch": {
    "l": 0.59826,
    "c": 0.19575,
    "h": 303.3
  },
  "luminance": 0.19138
}

Semantic roles & 50–950 ramp

primary
#9959DD
secondary
#CAE2B0
accent
#CE1876
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9959DD

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

Preview Lab → · Contrast checker → · Palette generator →

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