#9E5DF0#9E5DF0

#9E5DF0 is a light, highly saturated violet. Relative luminance 0.214; OKLCH L 62.2% C 0.213 H 300.7°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#9E5DF0
RGBrgb(158, 93, 240)
HSLhsl(267, 83%, 65%)
HSVhsv(267, 61%, 94%)
CMYKcmyk(34.2%, 61.2%, 0%, 5.9%)
CIE-LABlab(53.37, 55.01, -64.38)
CIE-LCHlch(53.37, 84.68, 310.51°)
OKLaboklab(62.17% 0.1086 -0.1828)
OKLCHoklch(62.17% 0.213 300.7)
XYZxyz(33.7393, 21.3889, 84.7721)
Luminance0.2139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E5DF0 #AFF05D
analogous
#5D65F0 #9E5DF0 #E85DF0
triadic
#9E5DF0 #F09E5D #5DF09E
tetradic
#9E5DF0 #F05D65 #AFF05D #5DF0E8
square
#9E5DF0 #F05D65 #AFF05D #5DF0E8
split-complementary
#9E5DF0 #F0E85D #65F05D
monochromatic
#5F12C1 #7C25EB #9E5DF0 #C095F5 #E1CDFA

Accessibility & contrast

On white

3.98
#9E5DF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#9E5DF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E5DF0
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E5DF0#FFFFFF#000000##000000
##9E5DF01.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF5
Deuteranopia (green-blind)
#287FED
Tritanopia (blue-blind)
#8D7D9E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9e5df0;
/* rgb */ color: rgb(158, 93, 240);
/* oklch */ color: oklch(62.2% 0.213 300.7);
Tailwind
colors: {
  custom: {
    50: '#c08ef6',
    500: '#9e5df0',
    950: '#000000',
  },
}
SCSS
$custom: #9e5df0;
$custom-light: #c08ef6;
$custom-dark: #000000;
JSON
{
  "hex": "#9e5df0",
  "rgb": {
    "r": 158,
    "g": 93,
    "b": 240
  },
  "hsl": {
    "h": 266.531,
    "s": 83.051,
    "l": 65.294
  },
  "oklch": {
    "l": 0.62171,
    "c": 0.21262,
    "h": 300.7
  },
  "luminance": 0.21389
}

Semantic roles & 50–950 ramp

primary
#9E5DF0
secondary
#D7EDBC
accent
#DF067F
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #9E5DF0

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

Preview Lab → · Contrast checker → · Palette generator →

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