#9E5BEC#9E5BEC

#9E5BEC is a mid, highly saturated violet. Relative luminance 0.208; OKLCH L 61.6% C 0.211 H 301.8°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#9E5BEC
RGBrgb(158, 91, 236)
HSLhsl(268, 79%, 64%)
HSVhsv(268, 61%, 93%)
CMYKcmyk(33.1%, 61.4%, 0%, 7.5%)
CIE-LABlab(52.74, 55.06, -63.17)
CIE-LCHlch(52.74, 83.80, 311.08°)
OKLaboklab(61.63% 0.1111 -0.1792)
OKLCHoklch(61.63% 0.211 301.8)
XYZxyz(32.9784, 20.8073, 81.6194)
Luminance0.2081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E5BEC #A9EC5B
analogous
#5B61EC #9E5BEC #E65BEC
triadic
#9E5BEC #EC9E5B #5BEC9E
tetradic
#9E5BEC #EC5B61 #A9EC5B #5BECE6
square
#9E5BEC #EC5B61 #A9EC5B #5BECE6
split-complementary
#9E5BEC #ECE65B #61EC5B
monochromatic
#6015B7 #7E24E6 #9E5BEC #BE92F2 #DFC9F9

Accessibility & contrast

On white

4.07
#9E5BEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#9E5BEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E5BEC
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E5BEC#FFFFFF#000000##000000
##9E5BEC1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF1
Deuteranopia (green-blind)
#2B7DE9
Tritanopia (blue-blind)
#8E7A9B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9e5bec;
/* rgb */ color: rgb(158, 91, 236);
/* oklch */ color: oklch(61.6% 0.211 301.8);
Tailwind
colors: {
  custom: {
    50: '#bf8df3',
    500: '#9e5bec',
    950: '#000000',
  },
}
SCSS
$custom: #9e5bec;
$custom-light: #bf8df3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e5bec",
  "rgb": {
    "r": 158,
    "g": 91,
    "b": 236
  },
  "hsl": {
    "h": 267.724,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.61628,
    "c": 0.21085,
    "h": 301.8
  },
  "luminance": 0.20807
}

Semantic roles & 50–950 ramp

primary
#9E5BEC
secondary
#D3EBB8
accent
#DC0A7B
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9E5BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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