#9D5EE8#9D5EE8

#9D5EE8 is a mid, highly saturated violet. Relative luminance 0.210; OKLCH L 61.7% C 0.202 H 301.8°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#9D5EE8
RGBrgb(157, 94, 232)
HSLhsl(267, 75%, 64%)
HSVhsv(267, 59%, 91%)
CMYKcmyk(32.3%, 59.5%, 0%, 9%)
CIE-LABlab(52.95, 52.33, -60.59)
CIE-LCHlch(52.95, 80.06, 310.82°)
OKLaboklab(61.68% 0.1065 -0.1717)
OKLCHoklch(61.68% 0.202 301.8)
XYZxyz(32.4694, 20.9996, 78.6710)
Luminance0.2100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D5EE8 #A9E85E
analogous
#5E64E8 #9D5EE8 #E25EE8
triadic
#9D5EE8 #E89D5E #5EE89D
tetradic
#9D5EE8 #E85E64 #A9E85E #5EE8E2
square
#9D5EE8 #E85E64 #A9E85E #5EE8E2
split-complementary
#9D5EE8 #E8E25E #64E85E
monochromatic
#5F19B2 #7C28E0 #9D5EE8 #BE94F0 #DEC9F7

Accessibility & contrast

On white

4.04
#9D5EE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#9D5EE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D5EE8
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D5EE8#FFFFFF#000000##000000
##9D5EE81.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C7DEC
Deuteranopia (green-blind)
#357EE5
Tritanopia (blue-blind)
#8E7B9A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9d5ee8;
/* rgb */ color: rgb(157, 94, 232);
/* oklch */ color: oklch(61.7% 0.202 301.8);
Tailwind
colors: {
  custom: {
    50: '#be8ef0',
    500: '#9d5ee8',
    950: '#000000',
  },
}
SCSS
$custom: #9d5ee8;
$custom-light: #be8ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d5ee8",
  "rgb": {
    "r": 157,
    "g": 94,
    "b": 232
  },
  "hsl": {
    "h": 267.391,
    "s": 75,
    "l": 63.922
  },
  "oklch": {
    "l": 0.61676,
    "c": 0.20202,
    "h": 301.8
  },
  "luminance": 0.21
}

Semantic roles & 50–950 ramp

primary
#9D5EE8
secondary
#D3E9B9
accent
#D70E7B
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9D5EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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