#9D5BE3#9D5BE3

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

Color values

HEX#9D5BE3
RGBrgb(157, 91, 227)
HSLhsl(269, 71%, 62%)
HSVhsv(269, 60%, 89%)
CMYKcmyk(30.8%, 59.9%, 0%, 11%)
CIE-LABlab(52.06, 52.69, -59.21)
CIE-LCHlch(52.06, 79.25, 311.67°)
OKLaboklab(60.93% 0.1101 -0.1676)
OKLCHoklch(60.93% 0.201 303.3)
XYZxyz(31.5077, 20.1964, 74.8965)
Luminance0.2020 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D5BE3 #A1E35B
analogous
#5B5DE3 #9D5BE3 #E15BE3
triadic
#9D5BE3 #E39D5B #5BE39D
tetradic
#9D5BE3 #E35B5D #A1E35B #5BE3E1
square
#9D5BE3 #E35B5D #A1E35B #5BE3E1
split-complementary
#9D5BE3 #E3E15B #5DE35B
monochromatic
#601DA7 #7E27DA #9D5BE3 #BC8FEC #DBC4F5

Accessibility & contrast

On white

4.17
#9D5BE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#9D5BE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D5BE3
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D5BE3#FFFFFF#000000##000000
##9D5BE31.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D7BE7
Deuteranopia (green-blind)
#377CE0
Tritanopia (blue-blind)
#907797
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9d5be3;
/* rgb */ color: rgb(157, 91, 227);
/* oklch */ color: oklch(60.9% 0.201 303.3);
Tailwind
colors: {
  custom: {
    50: '#be8cec',
    500: '#9d5be3',
    950: '#000000',
  },
}
SCSS
$custom: #9d5be3;
$custom-light: #be8cec;
$custom-dark: #000000;
JSON
{
  "hex": "#9d5be3",
  "rgb": {
    "r": 157,
    "g": 91,
    "b": 227
  },
  "hsl": {
    "h": 269.118,
    "s": 70.833,
    "l": 62.353
  },
  "oklch": {
    "l": 0.60928,
    "c": 0.20057,
    "h": 303.3
  },
  "luminance": 0.20196
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D5BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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