#9D5BE4#9D5BE4

#9D5BE4 is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.0% C 0.202 H 303.1°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#9D5BE4
RGBrgb(157, 91, 228)
HSLhsl(269, 72%, 63%)
HSVhsv(269, 60%, 89%)
CMYKcmyk(31.1%, 60.1%, 0%, 10.6%)
CIE-LABlab(52.12, 52.93, -59.67)
CIE-LCHlch(52.12, 79.76, 311.57°)
OKLaboklab(60.99% 0.1101 -0.169)
OKLCHoklch(60.99% 0.202 303.1)
XYZxyz(31.6461, 20.2517, 75.6255)
Luminance0.2025 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D5BE4 #A2E45B
analogous
#5B5DE4 #9D5BE4 #E15BE4
triadic
#9D5BE4 #E49D5B #5BE49D
tetradic
#9D5BE4 #E45B5D #A2E45B #5BE4E1
square
#9D5BE4 #E45B5D #A2E45B #5BE4E1
split-complementary
#9D5BE4 #E4E15B #5DE45B
monochromatic
#601CA9 #7E26DB #9D5BE4 #BC90ED #DCC4F5

Accessibility & contrast

On white

4.16
#9D5BE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#9D5BE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D5BE4
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D5BE4#FFFFFF#000000##000000
##9D5BE41.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#087BE8
Deuteranopia (green-blind)
#367CE1
Tritanopia (blue-blind)
#8F7797
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9d5be4;
/* rgb */ color: rgb(157, 91, 228);
/* oklch */ color: oklch(61.0% 0.202 303.1);
Tailwind
colors: {
  custom: {
    50: '#be8ced',
    500: '#9d5be4',
    950: '#000000',
  },
}
SCSS
$custom: #9d5be4;
$custom-light: #be8ced;
$custom-dark: #000000;
JSON
{
  "hex": "#9d5be4",
  "rgb": {
    "r": 157,
    "g": 91,
    "b": 228
  },
  "hsl": {
    "h": 268.905,
    "s": 71.728,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60993,
    "c": 0.2017,
    "h": 303.1
  },
  "luminance": 0.20252
}

Semantic roles & 50–950 ramp

primary
#9D5BE4
secondary
#CEE6B4
accent
#D41276
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9D5BE4

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

Preview Lab → · Contrast checker → · Palette generator →

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