#9959E8#9959E8

#9959E8 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.6% C 0.208 H 301.0°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#9959E8
RGBrgb(153, 89, 232)
HSLhsl(267, 76%, 63%)
HSVhsv(267, 62%, 91%)
CMYKcmyk(34.1%, 61.6%, 0%, 9%)
CIE-LABlab(51.55, 54.03, -62.87)
CIE-LCHlch(51.55, 82.90, 310.68°)
OKLaboklab(60.56% 0.1071 -0.1785)
OKLCHoklch(60.56% 0.208 301)
XYZxyz(31.2713, 19.7431, 78.4916)
Luminance0.1974 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9959E8 #A8E859
analogous
#5960E8 #9959E8 #E059E8
triadic
#9959E8 #E89959 #59E899
tetradic
#9959E8 #E85960 #A8E859 #59E8E0
square
#9959E8 #E85960 #A8E859 #59E8E0
split-complementary
#9959E8 #E8E059 #60E859
monochromatic
#5B18AE #7823E1 #9959E8 #BA8FEF #DBC5F7

Accessibility & contrast

On white

4.24
#9959E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#9959E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9959E8
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9959E8#FFFFFF#000000##000000
##9959E81.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AED
Deuteranopia (green-blind)
#267AE5
Tritanopia (blue-blind)
#887898
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9959e8;
/* rgb */ color: rgb(153, 89, 232);
/* oklch */ color: oklch(60.6% 0.208 301.0);
Tailwind
colors: {
  custom: {
    50: '#bc8bf0',
    500: '#9959e8',
    950: '#000000',
  },
}
SCSS
$custom: #9959e8;
$custom-light: #bc8bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#9959e8",
  "rgb": {
    "r": 153,
    "g": 89,
    "b": 232
  },
  "hsl": {
    "h": 266.853,
    "s": 75.661,
    "l": 62.941
  },
  "oklch": {
    "l": 0.60556,
    "c": 0.20817,
    "h": 301
  },
  "luminance": 0.19743
}

Semantic roles & 50–950 ramp

primary
#9959E8
secondary
#D1E8B5
accent
#D80E7D
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #9959E8

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

Preview Lab → · Contrast checker → · Palette generator →

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