#9956E9#9956E9

#9956E9 is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.2% C 0.213 H 301.2°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#9956E9
RGBrgb(153, 86, 233)
HSLhsl(267, 77%, 63%)
HSVhsv(267, 63%, 91%)
CMYKcmyk(34.3%, 63.1%, 0%, 8.6%)
CIE-LABlab(51.05, 55.79, -64.24)
CIE-LCHlch(51.05, 85.08, 310.98°)
OKLaboklab(60.22% 0.1104 -0.1825)
OKLCHoklch(60.22% 0.213 301.2)
XYZxyz(31.1691, 19.3109, 79.1603)
Luminance0.1931 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9956E9 #A6E956
analogous
#565DE9 #9956E9 #E256E9
triadic
#9956E9 #E99956 #56E999
tetradic
#9956E9 #E9565D #A6E956 #56E9E2
square
#9956E9 #E9565D #A6E956 #56E9E2
split-complementary
#9956E9 #E9E256 #5DE956
monochromatic
#5C17AE #7820E2 #9956E9 #BA8CF0 #DAC2F7

Accessibility & contrast

On white

4.32
#9956E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#9956E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9956E9
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9956E9#FFFFFF#000000##000000
##9956E91.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EE
Deuteranopia (green-blind)
#1C79E6
Tritanopia (blue-blind)
#887698
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9956e9;
/* rgb */ color: rgb(153, 86, 233);
/* oklch */ color: oklch(60.2% 0.213 301.2);
Tailwind
colors: {
  custom: {
    50: '#bc89f1',
    500: '#9956e9',
    950: '#000000',
  },
}
SCSS
$custom: #9956e9;
$custom-light: #bc89f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9956e9",
  "rgb": {
    "r": 153,
    "g": 86,
    "b": 233
  },
  "hsl": {
    "h": 267.347,
    "s": 76.963,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60218,
    "c": 0.2133,
    "h": 301.2
  },
  "luminance": 0.19311
}

Semantic roles & 50–950 ramp

primary
#9956E9
secondary
#D0E8B3
accent
#D90C7C
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #9956E9

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

Preview Lab → · Contrast checker → · Palette generator →

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