#9E5BB2#9E5BB2

#9E5BB2 is a mid, vivid purple. Relative luminance 0.180; OKLCH L 58.2% C 0.146 H 318.1°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#9E5BB2
RGBrgb(158, 91, 178)
HSLhsl(286, 36%, 53%)
HSVhsv(286, 49%, 70%)
CMYKcmyk(11.2%, 48.9%, 0%, 30.2%)
CIE-LABlab(49.46, 41.92, -35.25)
CIE-LCHlch(49.46, 54.77, 319.94°)
OKLaboklab(58.16% 0.1088 -0.0977)
OKLCHoklch(58.16% 0.146 318.1)
XYZxyz(25.8764, 17.9665, 44.2157)
Luminance0.1797 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E5BB2 #6FB25B
analogous
#725BB2 #9E5BB2 #B25B9A
triadic
#9E5BB2 #B29E5B #5BB29E
tetradic
#9E5BB2 #B2725B #6FB25B #5B9AB2
square
#9E5BB2 #B2725B #6FB25B #5B9AB2
split-complementary
#9E5BB2 #9AB25B #5BB272
monochromatic
#582F64 #7C428D #9E5BB2 #B785C6 #CFAED9

Accessibility & contrast

On white

4.57
#9E5BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#9E5BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E5BB2
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E5BB2#FFFFFF#000000##000000
##9E5BB21.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B71B5
Deuteranopia (green-blind)
#5F78B0
Tritanopia (blue-blind)
#9E677E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9e5bb2;
/* rgb */ color: rgb(158, 91, 178);
/* oklch */ color: oklch(58.2% 0.146 318.1);
Tailwind
colors: {
  custom: {
    50: '#bc8bc9',
    500: '#9e5bb2',
    950: '#000000',
  },
}
SCSS
$custom: #9e5bb2;
$custom-light: #bc8bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#9e5bb2",
  "rgb": {
    "r": 158,
    "g": 91,
    "b": 178
  },
  "hsl": {
    "h": 286.207,
    "s": 36.1,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58162,
    "c": 0.14618,
    "h": 318.1
  },
  "luminance": 0.17966
}

Semantic roles & 50–950 ramp

primary
#9E5BB2
secondary
#AAC7A2
accent
#CC5C76
background
#FBF8FC
surface
#F7F0F8
border
#D0CBD1
text
#120C13
muted
#817D82

Preview Lab

Preview with #9E5BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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