#9959E4#9959E4

#9959E4 is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.3% C 0.204 H 301.8°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#9959E4
RGBrgb(153, 89, 228)
HSLhsl(268, 72%, 62%)
HSVhsv(268, 61%, 89%)
CMYKcmyk(32.9%, 61%, 0%, 10.6%)
CIE-LABlab(51.29, 53.06, -61.03)
CIE-LCHlch(51.29, 80.87, 311.00°)
OKLaboklab(60.29% 0.1073 -0.1731)
OKLCHoklch(60.29% 0.204 301.8)
XYZxyz(30.7095, 19.5184, 75.5333)
Luminance0.1952 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9959E4 #A4E459
analogous
#595FE4 #9959E4 #DF59E4
triadic
#9959E4 #E49959 #59E499
tetradic
#9959E4 #E4595F #A4E459 #59E4DF
square
#9959E4 #E4595F #A4E459 #59E4DF
split-complementary
#9959E4 #E4DF59 #5FE459
monochromatic
#5C1BA7 #7924DB #9959E4 #B98EED #DAC2F5

Accessibility & contrast

On white

4.28
#9959E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#9959E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9959E4
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9959E4#FFFFFF#000000##000000
##9959E41.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E8
Deuteranopia (green-blind)
#2D7AE1
Tritanopia (blue-blind)
#8A7696
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9959e4;
/* rgb */ color: rgb(153, 89, 228);
/* oklch */ color: oklch(60.3% 0.204 301.8);
Tailwind
colors: {
  custom: {
    50: '#bc8bed',
    500: '#9959e4',
    950: '#000000',
  },
}
SCSS
$custom: #9959e4;
$custom-light: #bc8bed;
$custom-dark: #000000;
JSON
{
  "hex": "#9959e4",
  "rgb": {
    "r": 153,
    "g": 89,
    "b": 228
  },
  "hsl": {
    "h": 267.626,
    "s": 72.021,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60288,
    "c": 0.20367,
    "h": 301.8
  },
  "luminance": 0.19518
}

Semantic roles & 50–950 ramp

primary
#9959E4
secondary
#CEE6B3
accent
#D4117A
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9959E4

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

Preview Lab → · Contrast checker → · Palette generator →

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