#9D5AE9#9D5AE9

#9D5AE9 is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.2% C 0.209 H 302.2°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#9D5AE9
RGBrgb(157, 90, 233)
HSLhsl(268, 76%, 63%)
HSVhsv(268, 61%, 91%)
CMYKcmyk(32.6%, 61.4%, 0%, 8.6%)
CIE-LABlab(52.25, 54.63, -62.28)
CIE-LCHlch(52.25, 82.85, 311.26°)
OKLaboklab(61.19% 0.1111 -0.1767)
OKLCHoklch(61.19% 0.209 302.2)
XYZxyz(32.2653, 20.3636, 79.3057)
Luminance0.2036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D5AE9 #A6E95A
analogous
#5A5EE9 #9D5AE9 #E55AE9
triadic
#9D5AE9 #E99D5A #5AE99D
tetradic
#9D5AE9 #E95A5E #A6E95A #5AE9E5
square
#9D5AE9 #E95A5E #A6E95A #5AE9E5
split-complementary
#9D5AE9 #E9E55A #5EE95A
monochromatic
#5F18B1 #7D24E2 #9D5AE9 #BD90F0 #DDC6F7

Accessibility & contrast

On white

4.14
#9D5AE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#9D5AE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D5AE9
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D5AE9#FFFFFF#000000##000000
##9D5AE91.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEE
Deuteranopia (green-blind)
#2D7CE6
Tritanopia (blue-blind)
#8E7899
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9d5ae9;
/* rgb */ color: rgb(157, 90, 233);
/* oklch */ color: oklch(61.2% 0.209 302.2);
Tailwind
colors: {
  custom: {
    50: '#bf8cf1',
    500: '#9d5ae9',
    950: '#000000',
  },
}
SCSS
$custom: #9d5ae9;
$custom-light: #bf8cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d5ae9",
  "rgb": {
    "r": 157,
    "g": 90,
    "b": 233
  },
  "hsl": {
    "h": 268.112,
    "s": 76.471,
    "l": 63.333
  },
  "oklch": {
    "l": 0.61185,
    "c": 0.20868,
    "h": 302.2
  },
  "luminance": 0.20364
}

Semantic roles & 50–950 ramp

primary
#9D5AE9
secondary
#D1E9B6
accent
#D90D79
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9D5AE9

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

Preview Lab → · Contrast checker → · Palette generator →

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