#9E5FF2#9E5FF2

#9E5FF2 is a light, highly saturated violet. Relative luminance 0.219; OKLCH L 62.6% C 0.212 H 300.0°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#9E5FF2
RGBrgb(158, 95, 242)
HSLhsl(266, 85%, 66%)
HSVhsv(266, 61%, 95%)
CMYKcmyk(34.7%, 60.7%, 0%, 5.1%)
CIE-LABlab(53.88, 54.47, -64.68)
CIE-LCHlch(53.88, 84.56, 310.10°)
OKLaboklab(62.58% 0.1062 -0.1837)
OKLCHoklch(62.58% 0.212 300)
XYZxyz(34.2159, 21.8640, 86.4047)
Luminance0.2186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E5FF2 #B3F25F
analogous
#5F69F2 #9E5FF2 #E75FF2
triadic
#9E5FF2 #F29E5F #5FF29E
tetradic
#9E5FF2 #F25F69 #B3F25F #5FF2E7
square
#9E5FF2 #F25F69 #B3F25F #5FF2E7
split-complementary
#9E5FF2 #F2E75F #69F25F
monochromatic
#5E10C6 #7C26ED #9E5FF2 #C098F7 #E3D0FB

Accessibility & contrast

On white

3.91
#9E5FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#9E5FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E5FF2
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E5FF2#FFFFFF#000000##000000
##9E5FF21.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F7
Deuteranopia (green-blind)
#2880EF
Tritanopia (blue-blind)
#8C7FA0
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9e5ff2;
/* rgb */ color: rgb(158, 95, 242);
/* oklch */ color: oklch(62.6% 0.212 300.0);
Tailwind
colors: {
  custom: {
    50: '#c08ff7',
    500: '#9e5ff2',
    950: '#000000',
  },
}
SCSS
$custom: #9e5ff2;
$custom-light: #c08ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e5ff2",
  "rgb": {
    "r": 158,
    "g": 95,
    "b": 242
  },
  "hsl": {
    "h": 265.714,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.62582,
    "c": 0.21217,
    "h": 300
  },
  "luminance": 0.21864
}

Semantic roles & 50–950 ramp

primary
#9E5FF2
secondary
#DAEFBE
accent
#E10483
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #9E5FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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