#9E5BE9#9E5BE9

#9E5BE9 is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.4% C 0.207 H 302.4°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#9E5BE9
RGBrgb(158, 91, 233)
HSLhsl(268, 76%, 64%)
HSVhsv(268, 61%, 91%)
CMYKcmyk(32.2%, 60.9%, 0%, 8.6%)
CIE-LABlab(52.55, 54.34, -61.79)
CIE-LCHlch(52.55, 82.29, 311.33°)
OKLaboklab(61.43% 0.1112 -0.1752)
OKLCHoklch(61.43% 0.208 302.4)
XYZxyz(32.5462, 20.6344, 79.3432)
Luminance0.2063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E5BE9 #A6E95B
analogous
#5B5FE9 #9E5BE9 #E55BE9
triadic
#9E5BE9 #E99E5B #5BE99E
tetradic
#9E5BE9 #E95B5F #A6E95B #5BE9E5
square
#9E5BE9 #E95B5F #A6E95B #5BE9E5
split-complementary
#9E5BE9 #E9E55B #5FE95B
monochromatic
#6018B2 #7E25E2 #9E5BE9 #BE91F0 #DEC7F7

Accessibility & contrast

On white

4.10
#9E5BE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#9E5BE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E5BE9
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E5BE9#FFFFFF#000000##000000
##9E5BE91.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CED
Deuteranopia (green-blind)
#307DE6
Tritanopia (blue-blind)
#8F799A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9e5be9;
/* rgb */ color: rgb(158, 91, 233);
/* oklch */ color: oklch(61.4% 0.207 302.4);
Tailwind
colors: {
  custom: {
    50: '#bf8df1',
    500: '#9e5be9',
    950: '#000000',
  },
}
SCSS
$custom: #9e5be9;
$custom-light: #bf8df1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e5be9",
  "rgb": {
    "r": 158,
    "g": 91,
    "b": 233
  },
  "hsl": {
    "h": 268.31,
    "s": 76.344,
    "l": 63.529
  },
  "oklch": {
    "l": 0.61429,
    "c": 0.2075,
    "h": 302.4
  },
  "luminance": 0.20634
}

Semantic roles & 50–950 ramp

primary
#9E5BE9
secondary
#D1E9B7
accent
#D90D78
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9E5BE9

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

Preview Lab → · Contrast checker → · Palette generator →

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