#9D5AE3#9D5AE3

#9D5AE3 is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 60.8% C 0.202 H 303.4°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#9D5AE3
RGBrgb(157, 90, 227)
HSLhsl(269, 71%, 62%)
HSVhsv(269, 60%, 89%)
CMYKcmyk(30.8%, 60.4%, 0%, 11%)
CIE-LABlab(51.87, 53.20, -59.51)
CIE-LCHlch(51.87, 79.83, 311.79°)
OKLaboklab(60.79% 0.1113 -0.1685)
OKLCHoklch(60.79% 0.202 303.4)
XYZxyz(31.4228, 20.0265, 74.8682)
Luminance0.2003 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D5AE3 #A0E35A
analogous
#5A5CE3 #9D5AE3 #E15AE3
triadic
#9D5AE3 #E39D5A #5AE39D
tetradic
#9D5AE3 #E35A5C #A0E35A #5AE3E1
square
#9D5AE3 #E35A5C #A0E35A #5AE3E1
split-complementary
#9D5AE3 #E3E15A #5CE35A
monochromatic
#601CA6 #7E26DA #9D5AE3 #BC8EEC #DBC3F5

Accessibility & contrast

On white

4.20
#9D5AE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#9D5AE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D5AE3
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D5AE3#FFFFFF#000000##000000
##9D5AE31.004.205.015.01
#FFFFFF4.201.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#057AE7
Deuteranopia (green-blind)
#367BE0
Tritanopia (blue-blind)
#907696
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9d5ae3;
/* rgb */ color: rgb(157, 90, 227);
/* oklch */ color: oklch(60.8% 0.202 303.4);
Tailwind
colors: {
  custom: {
    50: '#be8cec',
    500: '#9d5ae3',
    950: '#000000',
  },
}
SCSS
$custom: #9d5ae3;
$custom-light: #be8cec;
$custom-dark: #000000;
JSON
{
  "hex": "#9d5ae3",
  "rgb": {
    "r": 157,
    "g": 90,
    "b": 227
  },
  "hsl": {
    "h": 269.343,
    "s": 70.984,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60789,
    "c": 0.20197,
    "h": 303.4
  },
  "luminance": 0.20026
}

Semantic roles & 50–950 ramp

primary
#9D5AE3
secondary
#CDE6B3
accent
#D31275
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9D5AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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