#9E5FFD#9E5FFD

#9E5FFD is a light, highly saturated violet. Relative luminance 0.225; OKLCH L 63.3% C 0.225 H 298.0°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#9E5FFD
RGBrgb(158, 95, 253)
HSLhsl(264, 98%, 68%)
HSVhsv(264, 62%, 99%)
CMYKcmyk(37.5%, 62.5%, 0%, 0.8%)
CIE-LABlab(54.60, 57.18, -69.63)
CIE-LCHlch(54.60, 90.10, 309.39°)
OKLaboklab(63.33% 0.1055 -0.1982)
OKLCHoklch(63.33% 0.225 298)
XYZxyz(35.9179, 22.5449, 95.3687)
Luminance0.2255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E5FFD #BEFD5F
analogous
#5F6FFD #9E5FFD #ED5FFD
triadic
#9E5FFD #FD9E5F #5FFD9E
tetradic
#9E5FFD #FD5F6F #BEFD5F #5FFDED
square
#9E5FFD #FD5F6F #BEFD5F #5FFDED
split-complementary
#9E5FFD #FDED5F #6FFD5F
monochromatic
#5B03DF #7923FC #9E5FFD #C39BFE #E7D8FF

Accessibility & contrast

On white

3.81
#9E5FFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#9E5FFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E5FFD
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E5FFD#FFFFFF#000000##000000
##9E5FFD1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FF
Deuteranopia (green-blind)
#0181FA
Tritanopia (blue-blind)
#8882A6
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9e5ffd;
/* rgb */ color: rgb(158, 95, 253);
/* oklch */ color: oklch(63.3% 0.225 298.0);
Tailwind
colors: {
  custom: {
    50: '#c08fff',
    500: '#9e5ffd',
    950: '#000000',
  },
}
SCSS
$custom: #9e5ffd;
$custom-light: #c08fff;
$custom-dark: #000000;
JSON
{
  "hex": "#9e5ffd",
  "rgb": {
    "r": 158,
    "g": 95,
    "b": 253
  },
  "hsl": {
    "h": 263.924,
    "s": 97.531,
    "l": 68.235
  },
  "oklch": {
    "l": 0.63331,
    "c": 0.22457,
    "h": 298
  },
  "luminance": 0.22545
}

Semantic roles & 50–950 ramp

primary
#9E5FFD
secondary
#E1F4C4
accent
#E6008A
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D18
muted
#827E86

Preview Lab

Preview with #9E5FFD

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

Preview Lab → · Contrast checker → · Palette generator →

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