#9E5DF2#9E5DF2

#9E5DF2 is a light, highly saturated violet. Relative luminance 0.215; OKLCH L 62.3% C 0.215 H 300.3°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#9E5DF2
RGBrgb(158, 93, 242)
HSLhsl(266, 85%, 66%)
HSVhsv(266, 62%, 95%)
CMYKcmyk(34.7%, 61.6%, 0%, 5.1%)
CIE-LABlab(53.50, 55.49, -65.29)
CIE-LCHlch(53.50, 85.69, 310.36°)
OKLaboklab(62.31% 0.1085 -0.1855)
OKLCHoklch(62.31% 0.215 300.3)
XYZxyz(34.0380, 21.5084, 86.3454)
Luminance0.2151 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E5DF2 #B1F25D
analogous
#5D66F2 #9E5DF2 #E85DF2
triadic
#9E5DF2 #F29E5D #5DF29E
tetradic
#9E5DF2 #F25D66 #B1F25D #5DF2E8
square
#9E5DF2 #F25D66 #B1F25D #5DF2E8
split-complementary
#9E5DF2 #F2E85D #66F25D
monochromatic
#5F10C5 #7C24ED #9E5DF2 #C096F7 #E2CEFB

Accessibility & contrast

On white

3.96
#9E5DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#9E5DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E5DF2
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E5DF2#FFFFFF#000000##000000
##9E5DF21.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF7
Deuteranopia (green-blind)
#247FEF
Tritanopia (blue-blind)
#8C7D9F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9e5df2;
/* rgb */ color: rgb(158, 93, 242);
/* oklch */ color: oklch(62.3% 0.215 300.3);
Tailwind
colors: {
  custom: {
    50: '#c08ef7',
    500: '#9e5df2',
    950: '#000000',
  },
}
SCSS
$custom: #9e5df2;
$custom-light: #c08ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e5df2",
  "rgb": {
    "r": 158,
    "g": 93,
    "b": 242
  },
  "hsl": {
    "h": 266.174,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.62305,
    "c": 0.21487,
    "h": 300.3
  },
  "luminance": 0.21509
}

Semantic roles & 50–950 ramp

primary
#9E5DF2
secondary
#D9EEBD
accent
#E20481
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #9E5DF2

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

Preview Lab → · Contrast checker → · Palette generator →

#9E5DF2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva