#9956E4#9956E4

#9956E4 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.9% C 0.208 H 302.2°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#9956E4
RGBrgb(153, 86, 228)
HSLhsl(268, 72%, 62%)
HSVhsv(268, 62%, 89%)
CMYKcmyk(32.9%, 62.3%, 0%, 10.6%)
CIE-LABlab(50.72, 54.59, -61.95)
CIE-LCHlch(50.72, 82.57, 311.39°)
OKLaboklab(59.88% 0.1107 -0.1758)
OKLCHoklch(59.88% 0.208 302.2)
XYZxyz(30.4650, 19.0293, 75.4518)
Luminance0.1903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9956E4 #A1E456
analogous
#565AE4 #9956E4 #E056E4
triadic
#9956E4 #E49956 #56E499
tetradic
#9956E4 #E4565A #A1E456 #56E4E0
square
#9956E4 #E4565A #A1E456 #56E4E0
split-complementary
#9956E4 #E4E056 #5AE456
monochromatic
#5C1AA5 #7923DA #9956E4 #B98BEC #D9C0F5

Accessibility & contrast

On white

4.37
#9956E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#9956E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9956E4
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9956E4#FFFFFF#000000##000000
##9956E41.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E8
Deuteranopia (green-blind)
#2778E1
Tritanopia (blue-blind)
#8A7495
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9956e4;
/* rgb */ color: rgb(153, 86, 228);
/* oklch */ color: oklch(59.9% 0.208 302.2);
Tailwind
colors: {
  custom: {
    50: '#bc89ed',
    500: '#9956e4',
    950: '#000000',
  },
}
SCSS
$custom: #9956e4;
$custom-light: #bc89ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9956e4",
  "rgb": {
    "r": 153,
    "g": 86,
    "b": 228
  },
  "hsl": {
    "h": 268.31,
    "s": 72.449,
    "l": 61.569
  },
  "oklch": {
    "l": 0.59876,
    "c": 0.20776,
    "h": 302.2
  },
  "luminance": 0.19029
}

Semantic roles & 50–950 ramp

primary
#9956E4
secondary
#CCE5B0
accent
#D51178
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9956E4

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

Preview Lab → · Contrast checker → · Palette generator →

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