#9959EA#9959EA

#9959EA is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.7% C 0.210 H 300.6°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#9959EA
RGBrgb(153, 89, 234)
HSLhsl(266, 78%, 63%)
HSVhsv(266, 62%, 92%)
CMYKcmyk(34.6%, 62%, 0%, 8.2%)
CIE-LABlab(51.68, 54.52, -63.79)
CIE-LCHlch(51.68, 83.91, 310.52°)
OKLaboklab(60.69% 0.107 -0.1812)
OKLCHoklch(60.69% 0.21 300.6)
XYZxyz(31.5569, 19.8574, 79.9963)
Luminance0.1986 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9959EA #AAEA59
analogous
#5961EA #9959EA #E259EA
triadic
#9959EA #EA9959 #59EA99
tetradic
#9959EA #EA5961 #AAEA59 #59EAE2
square
#9959EA #EA5961 #AAEA59 #59EAE2
split-complementary
#9959EA #EAE259 #61EA59
monochromatic
#5B17B2 #7823E3 #9959EA #BA8FF1 #DCC6F8

Accessibility & contrast

On white

4.22
#9959EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#9959EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9959EA
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9959EA#FFFFFF#000000##000000
##9959EA1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEF
Deuteranopia (green-blind)
#217AE7
Tritanopia (blue-blind)
#887899
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9959ea;
/* rgb */ color: rgb(153, 89, 234);
/* oklch */ color: oklch(60.7% 0.210 300.6);
Tailwind
colors: {
  custom: {
    50: '#bc8bf2',
    500: '#9959ea',
    950: '#000000',
  },
}
SCSS
$custom: #9959ea;
$custom-light: #bc8bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#9959ea",
  "rgb": {
    "r": 153,
    "g": 89,
    "b": 234
  },
  "hsl": {
    "h": 266.483,
    "s": 77.54,
    "l": 63.333
  },
  "oklch": {
    "l": 0.60692,
    "c": 0.21042,
    "h": 300.6
  },
  "luminance": 0.19858
}

Semantic roles & 50–950 ramp

primary
#9959EA
secondary
#D2E9B6
accent
#DA0C7F
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #9959EA

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

Preview Lab → · Contrast checker → · Palette generator →

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