#9D5BE5#9D5BE5

#9D5BE5 is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.1% C 0.203 H 302.9°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#9D5BE5
RGBrgb(157, 91, 229)
HSLhsl(269, 73%, 63%)
HSVhsv(269, 60%, 90%)
CMYKcmyk(31.4%, 60.3%, 0%, 10.2%)
CIE-LABlab(52.18, 53.16, -60.13)
CIE-LCHlch(52.18, 80.26, 311.48°)
OKLaboklab(61.06% 0.1101 -0.1703)
OKLCHoklch(61.06% 0.203 302.9)
XYZxyz(31.7853, 20.3074, 76.3587)
Luminance0.2031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D5BE5 #A3E55B
analogous
#5B5EE5 #9D5BE5 #E25BE5
triadic
#9D5BE5 #E59D5B #5BE59D
tetradic
#9D5BE5 #E55B5E #A3E55B #5BE5E2
square
#9D5BE5 #E55B5E #A3E55B #5BE5E2
split-complementary
#9D5BE5 #E5E25B #5EE55B
monochromatic
#601BAB #7D26DD #9D5BE5 #BD90ED #DCC5F6

Accessibility & contrast

On white

4.15
#9D5BE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#9D5BE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D5BE5
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D5BE5#FFFFFF#000000##000000
##9D5BE51.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#037BE9
Deuteranopia (green-blind)
#357CE2
Tritanopia (blue-blind)
#8F7898
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9d5be5;
/* rgb */ color: rgb(157, 91, 229);
/* oklch */ color: oklch(61.1% 0.203 302.9);
Tailwind
colors: {
  custom: {
    50: '#be8cee',
    500: '#9d5be5',
    950: '#000000',
  },
}
SCSS
$custom: #9d5be5;
$custom-light: #be8cee;
$custom-dark: #000000;
JSON
{
  "hex": "#9d5be5",
  "rgb": {
    "r": 157,
    "g": 91,
    "b": 229
  },
  "hsl": {
    "h": 268.696,
    "s": 72.632,
    "l": 62.745
  },
  "oklch": {
    "l": 0.61059,
    "c": 0.20282,
    "h": 302.9
  },
  "luminance": 0.20307
}

Semantic roles & 50–950 ramp

primary
#9D5BE5
secondary
#CFE7B5
accent
#D51177
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9D5BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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