#9D5AE5#9D5AE5

#9D5AE5 is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 60.9% C 0.204 H 303.0°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#9D5AE5
RGBrgb(157, 90, 229)
HSLhsl(269, 73%, 63%)
HSVhsv(269, 61%, 90%)
CMYKcmyk(31.4%, 60.7%, 0%, 10.2%)
CIE-LABlab(51.99, 53.68, -60.44)
CIE-LCHlch(51.99, 80.83, 311.61°)
OKLaboklab(60.92% 0.1113 -0.1712)
OKLCHoklch(60.92% 0.204 303)
XYZxyz(31.7004, 20.1376, 76.3304)
Luminance0.2014 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D5AE5 #A2E55A
analogous
#5A5CE5 #9D5AE5 #E35AE5
triadic
#9D5AE5 #E59D5A #5AE59D
tetradic
#9D5AE5 #E55A5C #A2E55A #5AE5E3
square
#9D5AE5 #E55A5C #A2E55A #5AE5E3
split-complementary
#9D5AE5 #E5E35A #5CE55A
monochromatic
#601BAA #7E25DD #9D5AE5 #BC8FED #DCC4F6

Accessibility & contrast

On white

4.18
#9D5AE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#9D5AE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D5AE5
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D5AE5#FFFFFF#000000##000000
##9D5AE51.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BE9
Deuteranopia (green-blind)
#337CE2
Tritanopia (blue-blind)
#8F7797
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9d5ae5;
/* rgb */ color: rgb(157, 90, 229);
/* oklch */ color: oklch(60.9% 0.204 303.0);
Tailwind
colors: {
  custom: {
    50: '#be8cee',
    500: '#9d5ae5',
    950: '#000000',
  },
}
SCSS
$custom: #9d5ae5;
$custom-light: #be8cee;
$custom-dark: #000000;
JSON
{
  "hex": "#9d5ae5",
  "rgb": {
    "r": 157,
    "g": 90,
    "b": 229
  },
  "hsl": {
    "h": 268.921,
    "s": 72.775,
    "l": 62.549
  },
  "oklch": {
    "l": 0.6092,
    "c": 0.20421,
    "h": 303
  },
  "luminance": 0.20138
}

Semantic roles & 50–950 ramp

primary
#9D5AE5
secondary
#CEE7B4
accent
#D51176
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9D5AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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