#9E5BF2#9E5BF2

#9E5BF2 is a light, highly saturated violet. Relative luminance 0.212; OKLCH L 62.0% C 0.218 H 300.6°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#9E5BF2
RGBrgb(158, 91, 242)
HSLhsl(267, 85%, 65%)
HSVhsv(267, 62%, 95%)
CMYKcmyk(34.7%, 62.4%, 0%, 5.1%)
CIE-LABlab(53.13, 56.51, -65.90)
CIE-LCHlch(53.13, 86.81, 310.61°)
OKLaboklab(62.03% 0.1107 -0.1872)
OKLCHoklch(62.03% 0.218 300.6)
XYZxyz(33.8648, 21.1618, 86.2877)
Luminance0.2116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E5BF2 #AFF25B
analogous
#5B63F2 #9E5BF2 #EA5BF2
triadic
#9E5BF2 #F29E5B #5BF29E
tetradic
#9E5BF2 #F25B63 #AFF25B #5BF2EA
square
#9E5BF2 #F25B63 #AFF25B #5BF2EA
split-complementary
#9E5BF2 #F2EA5B #63F25B
monochromatic
#5F0FC3 #7C22EE #9E5BF2 #C094F6 #E1CCFB

Accessibility & contrast

On white

4.01
#9E5BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#9E5BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E5BF2
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E5BF2#FFFFFF#000000##000000
##9E5BF21.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF7
Deuteranopia (green-blind)
#1E7EEF
Tritanopia (blue-blind)
#8C7C9E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9e5bf2;
/* rgb */ color: rgb(158, 91, 242);
/* oklch */ color: oklch(62.0% 0.218 300.6);
Tailwind
colors: {
  custom: {
    50: '#c08df7',
    500: '#9e5bf2',
    950: '#000000',
  },
}
SCSS
$custom: #9e5bf2;
$custom-light: #c08df7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e5bf2",
  "rgb": {
    "r": 158,
    "g": 91,
    "b": 242
  },
  "hsl": {
    "h": 266.623,
    "s": 85.311,
    "l": 65.294
  },
  "oklch": {
    "l": 0.62033,
    "c": 0.21752,
    "h": 300.6
  },
  "luminance": 0.21162
}

Semantic roles & 50–950 ramp

primary
#9E5BF2
secondary
#D7EEBB
accent
#E2047F
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #9E5BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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