#9E5FF6#9E5FF6

#9E5FF6 is a light, highly saturated violet. Relative luminance 0.221; OKLCH L 62.9% C 0.217 H 299.3°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#9E5FF6
RGBrgb(158, 95, 246)
HSLhsl(265, 89%, 67%)
HSVhsv(265, 61%, 96%)
CMYKcmyk(35.8%, 61.4%, 0%, 3.5%)
CIE-LABlab(54.14, 55.45, -66.49)
CIE-LCHlch(54.14, 86.58, 309.83°)
OKLaboklab(62.85% 0.106 -0.189)
OKLCHoklch(62.85% 0.217 299.3)
XYZxyz(34.8232, 22.1070, 89.6033)
Luminance0.2211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E5FF6 #B7F65F
analogous
#5F6CF6 #9E5FF6 #E95FF6
triadic
#9E5FF6 #F69E5F #5FF69E
tetradic
#9E5FF6 #F65F6C #B7F65F #5FF6E9
square
#9E5FF6 #F65F6C #B7F65F #5FF6E9
split-complementary
#9E5FF6 #F6E95F #6CF65F
monochromatic
#5D0CCF #7B25F3 #9E5FF6 #C199F9 #E4D3FD

Accessibility & contrast

On white

3.87
#9E5FF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#9E5FF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E5FF6
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E5FF6#FFFFFF#000000##000000
##9E5FF61.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FB
Deuteranopia (green-blind)
#1F80F3
Tritanopia (blue-blind)
#8A80A2
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9e5ff6;
/* rgb */ color: rgb(158, 95, 246);
/* oklch */ color: oklch(62.9% 0.217 299.3);
Tailwind
colors: {
  custom: {
    50: '#c08ffa',
    500: '#9e5ff6',
    950: '#000000',
  },
}
SCSS
$custom: #9e5ff6;
$custom-light: #c08ffa;
$custom-dark: #000000;
JSON
{
  "hex": "#9e5ff6",
  "rgb": {
    "r": 158,
    "g": 95,
    "b": 246
  },
  "hsl": {
    "h": 265.033,
    "s": 89.349,
    "l": 66.863
  },
  "oklch": {
    "l": 0.62851,
    "c": 0.21669,
    "h": 299.3
  },
  "luminance": 0.22107
}

Semantic roles & 50–950 ramp

primary
#9E5FF6
secondary
#DCF1C0
accent
#E60086
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #9E5FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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