#9959EB#9959EB

#9959EB is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.8% C 0.212 H 300.4°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#9959EB
RGBrgb(153, 89, 235)
HSLhsl(266, 78%, 64%)
HSVhsv(266, 62%, 92%)
CMYKcmyk(34.9%, 62.1%, 0%, 7.8%)
CIE-LABlab(51.74, 54.76, -64.24)
CIE-LCHlch(51.74, 84.41, 310.45°)
OKLaboklab(60.76% 0.1069 -0.1825)
OKLCHoklch(60.76% 0.212 300.4)
XYZxyz(31.7010, 19.9150, 80.7550)
Luminance0.1991 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9959EB #ABEB59
analogous
#5962EB #9959EB #E259EB
triadic
#9959EB #EB9959 #59EB99
tetradic
#9959EB #EB5962 #ABEB59 #59EBE2
square
#9959EB #EB5962 #ABEB59 #59EBE2
split-complementary
#9959EB #EBE259 #62EB59
monochromatic
#5B16B4 #7722E4 #9959EB #BB90F2 #DCC6F8

Accessibility & contrast

On white

4.21
#9959EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#9959EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9959EB
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9959EB#FFFFFF#000000##000000
##9959EB1.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF0
Deuteranopia (green-blind)
#1F7AE8
Tritanopia (blue-blind)
#87799A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9959eb;
/* rgb */ color: rgb(153, 89, 235);
/* oklch */ color: oklch(60.8% 0.212 300.4);
Tailwind
colors: {
  custom: {
    50: '#bc8bf2',
    500: '#9959eb',
    950: '#000000',
  },
}
SCSS
$custom: #9959eb;
$custom-light: #bc8bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#9959eb",
  "rgb": {
    "r": 153,
    "g": 89,
    "b": 235
  },
  "hsl": {
    "h": 266.301,
    "s": 78.495,
    "l": 63.529
  },
  "oklch": {
    "l": 0.6076,
    "c": 0.21154,
    "h": 300.4
  },
  "luminance": 0.19915
}

Semantic roles & 50–950 ramp

primary
#9959EB
secondary
#D3EAB6
accent
#DB0B80
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #9959EB

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

Preview Lab → · Contrast checker → · Palette generator →

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