#9D5EEF#9D5EEF

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

Color values

HEX#9D5EEF
RGBrgb(157, 94, 239)
HSLhsl(266, 82%, 65%)
HSVhsv(266, 61%, 94%)
CMYKcmyk(34.3%, 60.7%, 0%, 6.3%)
CIE-LABlab(53.39, 54.03, -63.80)
CIE-LCHlch(53.39, 83.61, 310.26°)
OKLaboklab(62.14% 0.1062 -0.1811)
OKLCHoklch(62.14% 0.21 300.4)
XYZxyz(33.4836, 21.4053, 84.0122)
Luminance0.2141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D5EEF #B0EF5E
analogous
#5E67EF #9D5EEF #E65EEF
triadic
#9D5EEF #EF9D5E #5EEF9D
tetradic
#9D5EEF #EF5E67 #B0EF5E #5EEFE6
square
#9D5EEF #EF5E67 #B0EF5E #5EEFE6
split-complementary
#9D5EEF #EFE65E #67EF5E
monochromatic
#5E13C0 #7B26E9 #9D5EEF #BF96F5 #E1CDFA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D5EEF#FFFFFF#000000##000000
##9D5EEF1.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)
#007FF4
Deuteranopia (green-blind)
#2A7FEC
Tritanopia (blue-blind)
#8C7D9E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9d5eef;
/* rgb */ color: rgb(157, 94, 239);
/* oklch */ color: oklch(62.1% 0.210 300.4);
Tailwind
colors: {
  custom: {
    50: '#bf8ef5',
    500: '#9d5eef',
    950: '#000000',
  },
}
SCSS
$custom: #9d5eef;
$custom-light: #bf8ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d5eef",
  "rgb": {
    "r": 157,
    "g": 94,
    "b": 239
  },
  "hsl": {
    "h": 266.069,
    "s": 81.921,
    "l": 65.294
  },
  "oklch": {
    "l": 0.62138,
    "c": 0.20997,
    "h": 300.4
  },
  "luminance": 0.21406
}

Semantic roles & 50–950 ramp

primary
#9D5EEF
secondary
#D8EDBC
accent
#DE0781
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130D17
muted
#827D85

Preview Lab

Preview with #9D5EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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