#9D5EEE#9D5EEE

#9D5EEE is a light, highly saturated violet. Relative luminance 0.213; OKLCH L 62.1% C 0.209 H 300.6°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#9D5EEE
RGBrgb(157, 94, 238)
HSLhsl(266, 81%, 65%)
HSVhsv(266, 61%, 93%)
CMYKcmyk(34%, 60.5%, 0%, 6.7%)
CIE-LABlab(53.33, 53.79, -63.34)
CIE-LCHlch(53.33, 83.10, 310.34°)
OKLaboklab(62.07% 0.1063 -0.1798)
OKLCHoklch(62.07% 0.209 300.6)
XYZxyz(33.3362, 21.3463, 83.2363)
Luminance0.2135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D5EEE #AFEE5E
analogous
#5E67EE #9D5EEE #E55EEE
triadic
#9D5EEE #EE9D5E #5EEE9D
tetradic
#9D5EEE #EE5E67 #AFEE5E #5EEEE5
square
#9D5EEE #EE5E67 #AFEE5E #5EEEE5
split-complementary
#9D5EEE #EEE55E #67EE5E
monochromatic
#5E14BE #7B27E8 #9D5EEE #BF95F4 #E0CDFA

Accessibility & contrast

On white

3.99
#9D5EEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#9D5EEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D5EEE
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D5EEE#FFFFFF#000000##000000
##9D5EEE1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF3
Deuteranopia (green-blind)
#2C7EEB
Tritanopia (blue-blind)
#8C7D9D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9d5eee;
/* rgb */ color: rgb(157, 94, 238);
/* oklch */ color: oklch(62.1% 0.209 300.6);
Tailwind
colors: {
  custom: {
    50: '#bf8ef4',
    500: '#9d5eee',
    950: '#000000',
  },
}
SCSS
$custom: #9d5eee;
$custom-light: #bf8ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d5eee",
  "rgb": {
    "r": 157,
    "g": 94,
    "b": 238
  },
  "hsl": {
    "h": 266.25,
    "s": 80.899,
    "l": 65.098
  },
  "oklch": {
    "l": 0.62072,
    "c": 0.20884,
    "h": 300.6
  },
  "luminance": 0.21347
}

Semantic roles & 50–950 ramp

primary
#9D5EEE
secondary
#D7ECBB
accent
#DD0880
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130D17
muted
#827D85

Preview Lab

Preview with #9D5EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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