#9956E8#9956E8

#9956E8 is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.1% C 0.212 H 301.4°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#9956E8
RGBrgb(153, 86, 232)
HSLhsl(268, 76%, 62%)
HSVhsv(268, 63%, 91%)
CMYKcmyk(34.1%, 62.9%, 0%, 9%)
CIE-LABlab(50.98, 55.55, -63.78)
CIE-LCHlch(50.98, 84.58, 311.06°)
OKLaboklab(60.15% 0.1105 -0.1812)
OKLCHoklch(60.15% 0.212 301.4)
XYZxyz(31.0267, 19.2539, 78.4101)
Luminance0.1925 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9956E8 #A5E856
analogous
#565CE8 #9956E8 #E256E8
triadic
#9956E8 #E89956 #56E899
tetradic
#9956E8 #E8565C #A5E856 #56E8E2
square
#9956E8 #E8565C #A5E856 #56E8E2
split-complementary
#9956E8 #E8E256 #5CE856
monochromatic
#5C17AC #7820E1 #9956E8 #BA8CEF #DAC2F7

Accessibility & contrast

On white

4.33
#9956E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#9956E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9956E8
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9956E8#FFFFFF#000000##000000
##9956E81.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079ED
Deuteranopia (green-blind)
#1E79E5
Tritanopia (blue-blind)
#897697
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9956e8;
/* rgb */ color: rgb(153, 86, 232);
/* oklch */ color: oklch(60.1% 0.212 301.4);
Tailwind
colors: {
  custom: {
    50: '#bc89f0',
    500: '#9956e8',
    950: '#000000',
  },
}
SCSS
$custom: #9956e8;
$custom-light: #bc89f0;
$custom-dark: #000000;
JSON
{
  "hex": "#9956e8",
  "rgb": {
    "r": 153,
    "g": 86,
    "b": 232
  },
  "hsl": {
    "h": 267.534,
    "s": 76.042,
    "l": 62.353
  },
  "oklch": {
    "l": 0.60149,
    "c": 0.21219,
    "h": 301.4
  },
  "luminance": 0.19254
}

Semantic roles & 50–950 ramp

primary
#9956E8
secondary
#CFE8B2
accent
#D80D7B
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #9956E8

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

Preview Lab → · Contrast checker → · Palette generator →

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