#9E5DF6#9E5DF6

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

Color values

HEX#9E5DF6
RGBrgb(158, 93, 246)
HSLhsl(265, 89%, 66%)
HSVhsv(265, 62%, 96%)
CMYKcmyk(35.8%, 62.2%, 0%, 3.5%)
CIE-LABlab(53.76, 56.47, -67.10)
CIE-LCHlch(53.76, 87.70, 310.08°)
OKLaboklab(62.58% 0.1082 -0.1908)
OKLCHoklch(62.58% 0.219 299.6)
XYZxyz(34.6454, 21.7513, 89.5441)
Luminance0.2175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E5DF6 #B5F65D
analogous
#5D69F6 #9E5DF6 #EA5DF6
triadic
#9E5DF6 #F69E5D #5DF69E
tetradic
#9E5DF6 #F65D69 #B5F65D #5DF6EA
square
#9E5DF6 #F65D69 #B5F65D #5DF6EA
split-complementary
#9E5DF6 #F6EA5D #69F65D
monochromatic
#5E0BCD #7B23F3 #9E5DF6 #C197F9 #E3D1FC

Accessibility & contrast

On white

3.92
#9E5DF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#9E5DF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E5DF6
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E5DF6#FFFFFF#000000##000000
##9E5DF61.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FB
Deuteranopia (green-blind)
#197FF3
Tritanopia (blue-blind)
#8A7FA1
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9e5df6;
/* rgb */ color: rgb(158, 93, 246);
/* oklch */ color: oklch(62.6% 0.219 299.6);
Tailwind
colors: {
  custom: {
    50: '#c08efa',
    500: '#9e5df6',
    950: '#000000',
  },
}
SCSS
$custom: #9e5df6;
$custom-light: #c08efa;
$custom-dark: #000000;
JSON
{
  "hex": "#9e5df6",
  "rgb": {
    "r": 158,
    "g": 93,
    "b": 246
  },
  "hsl": {
    "h": 265.49,
    "s": 89.474,
    "l": 66.471
  },
  "oklch": {
    "l": 0.62577,
    "c": 0.21934,
    "h": 299.6
  },
  "luminance": 0.21752
}

Semantic roles & 50–950 ramp

primary
#9E5DF6
secondary
#DBF0BF
accent
#E60084
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #9E5DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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