#9E4BBB#9E4BBB

#9E4BBB is a mid, vivid purple. Relative luminance 0.159; OKLCH L 56.4% C 0.181 H 316.4°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#9E4BBB
RGBrgb(158, 75, 187)
HSLhsl(284, 45%, 51%)
HSVhsv(284, 60%, 73%)
CMYKcmyk(15.5%, 59.9%, 0%, 26.7%)
CIE-LABlab(46.83, 52.02, -44.65)
CIE-LCHlch(46.83, 68.55, 319.36°)
OKLaboklab(56.39% 0.1312 -0.1249)
OKLCHoklch(56.39% 0.181 316.4)
XYZxyz(25.5849, 15.8900, 48.7234)
Luminance0.1589 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4BBB #68BB4B
analogous
#664BBB #9E4BBB #BB4BA0
triadic
#9E4BBB #BB9E4B #4BBB9E
tetradic
#9E4BBB #BB664B #68BB4B #4BA0BB
square
#9E4BBB #BB664B #68BB4B #4BA0BB
split-complementary
#9E4BBB #A0BB4B #4BBB66
monochromatic
#552665 #7A3792 #9E4BBB #B677CC #CEA4DD

Accessibility & contrast

On white

5.03
#9E4BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#9E4BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E4BBB
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4BBB#FFFFFF#000000##FFFFFF
##9E4BBB1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B6ABF
Deuteranopia (green-blind)
#4C71B8
Tritanopia (blue-blind)
#9D5E7C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9e4bbb;
/* rgb */ color: rgb(158, 75, 187);
/* oklch */ color: oklch(56.4% 0.181 316.4);
Tailwind
colors: {
  custom: {
    50: '#bd82d0',
    500: '#9e4bbb',
    950: '#000000',
  },
}
SCSS
$custom: #9e4bbb;
$custom-light: #bd82d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4bbb",
  "rgb": {
    "r": 158,
    "g": 75,
    "b": 187
  },
  "hsl": {
    "h": 284.464,
    "s": 45.161,
    "l": 51.373
  },
  "oklch": {
    "l": 0.56385,
    "c": 0.18115,
    "h": 316.4
  },
  "luminance": 0.15889
}

Semantic roles & 50–950 ramp

primary
#9E4BBB
secondary
#A5CA98
accent
#D55375
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9E4BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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