#9E5BE3#9E5BE3

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

Color values

HEX#9E5BE3
RGBrgb(158, 91, 227)
HSLhsl(270, 71%, 62%)
HSVhsv(270, 60%, 89%)
CMYKcmyk(30.4%, 59.9%, 0%, 11%)
CIE-LABlab(52.17, 52.91, -59.02)
CIE-LCHlch(52.17, 79.27, 311.88°)
OKLaboklab(61.04% 0.1114 -0.167)
OKLCHoklch(61.04% 0.201 303.7)
XYZxyz(31.7036, 20.2974, 74.9057)
Luminance0.2030 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E5BE3 #A0E35B
analogous
#5B5CE3 #9E5BE3 #E25BE3
triadic
#9E5BE3 #E39E5B #5BE39E
tetradic
#9E5BE3 #E35B5C #A0E35B #5BE3E2
square
#9E5BE3 #E35B5C #A0E35B #5BE3E2
split-complementary
#9E5BE3 #E3E25B #5CE35B
monochromatic
#611DA7 #7F27DA #9E5BE3 #BD8FEC #DCC4F5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E5BE3#FFFFFF#000000##000000
##9E5BE31.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)
#0F7BE7
Deuteranopia (green-blind)
#397CE0
Tritanopia (blue-blind)
#917797
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9e5be3;
/* rgb */ color: rgb(158, 91, 227);
/* oklch */ color: oklch(61.0% 0.201 303.7);
Tailwind
colors: {
  custom: {
    50: '#bf8cec',
    500: '#9e5be3',
    950: '#000000',
  },
}
SCSS
$custom: #9e5be3;
$custom-light: #bf8cec;
$custom-dark: #000000;
JSON
{
  "hex": "#9e5be3",
  "rgb": {
    "r": 158,
    "g": 91,
    "b": 227
  },
  "hsl": {
    "h": 269.559,
    "s": 70.833,
    "l": 62.353
  },
  "oklch": {
    "l": 0.61036,
    "c": 0.20079,
    "h": 303.7
  },
  "luminance": 0.20297
}

Semantic roles & 50–950 ramp

primary
#9E5BE3
secondary
#CDE6B4
accent
#D31374
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9E5BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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