#9D5BE9#9D5BE9

#9D5BE9 is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.3% C 0.207 H 302.0°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#9D5BE9
RGBrgb(157, 91, 233)
HSLhsl(268, 76%, 64%)
HSVhsv(268, 61%, 91%)
CMYKcmyk(32.6%, 60.9%, 0%, 8.6%)
CIE-LABlab(52.44, 54.12, -61.98)
CIE-LCHlch(52.44, 82.28, 311.13°)
OKLaboklab(61.32% 0.1099 -0.1758)
OKLCHoklch(61.32% 0.207 302)
XYZxyz(32.3503, 20.5334, 79.3340)
Luminance0.2053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D5BE9 #A7E95B
analogous
#5B60E9 #9D5BE9 #E45BE9
triadic
#9D5BE9 #E99D5B #5BE99D
tetradic
#9D5BE9 #E95B60 #A7E95B #5BE9E4
square
#9D5BE9 #E95B60 #A7E95B #5BE9E4
split-complementary
#9D5BE9 #E9E45B #60E95B
monochromatic
#5F18B2 #7D25E2 #9D5BE9 #BD91F0 #DDC7F7

Accessibility & contrast

On white

4.11
#9D5BE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#9D5BE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D5BE9
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D5BE9#FFFFFF#000000##000000
##9D5BE91.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CED
Deuteranopia (green-blind)
#2F7DE6
Tritanopia (blue-blind)
#8E799A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9d5be9;
/* rgb */ color: rgb(157, 91, 233);
/* oklch */ color: oklch(61.3% 0.207 302.0);
Tailwind
colors: {
  custom: {
    50: '#be8cf1',
    500: '#9d5be9',
    950: '#000000',
  },
}
SCSS
$custom: #9d5be9;
$custom-light: #be8cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d5be9",
  "rgb": {
    "r": 157,
    "g": 91,
    "b": 233
  },
  "hsl": {
    "h": 267.887,
    "s": 76.344,
    "l": 63.529
  },
  "oklch": {
    "l": 0.61322,
    "c": 0.2073,
    "h": 302
  },
  "luminance": 0.20533
}

Semantic roles & 50–950 ramp

primary
#9D5BE9
secondary
#D2E9B7
accent
#D90D7A
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9D5BE9

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

Preview Lab → · Contrast checker → · Palette generator →

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