#9E4EBE#9E4EBE

#9E4EBE is a mid, vivid purple. Relative luminance 0.164; OKLCH L 57.0% C 0.180 H 315.2°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#9E4EBE
RGBrgb(158, 78, 190)
HSLhsl(283, 46%, 53%)
HSVhsv(283, 59%, 75%)
CMYKcmyk(16.8%, 58.9%, 0%, 25.5%)
CIE-LABlab(47.54, 51.18, -45.26)
CIE-LCHlch(47.54, 68.32, 318.51°)
OKLaboklab(56.96% 0.1275 -0.1267)
OKLCHoklch(56.96% 0.18 315.2)
XYZxyz(26.1177, 16.4364, 50.5020)
Luminance0.1644 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4EBE #6EBE4E
analogous
#664EBE #9E4EBE #BE4EA6
triadic
#9E4EBE #BE9E4E #4EBE9E
tetradic
#9E4EBE #BE664E #6EBE4E #4EA6BE
square
#9E4EBE #BE664E #6EBE4E #4EA6BE
split-complementary
#9E4EBE #A6BE4E #4EBE66
monochromatic
#57276A #7C3897 #9E4EBE #B77BCE #CFA8DF

Accessibility & contrast

On white

4.90
#9E4EBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#9E4EBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E4EBE
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4EBE#FFFFFF#000000##FFFFFF
##9E4EBE1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6CC2
Deuteranopia (green-blind)
#4D73BB
Tritanopia (blue-blind)
#9C617F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9e4ebe;
/* rgb */ color: rgb(158, 78, 190);
/* oklch */ color: oklch(57.0% 0.180 315.2);
Tailwind
colors: {
  custom: {
    50: '#bd84d2',
    500: '#9e4ebe',
    950: '#000000',
  },
}
SCSS
$custom: #9e4ebe;
$custom-light: #bd84d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4ebe",
  "rgb": {
    "r": 158,
    "g": 78,
    "b": 190
  },
  "hsl": {
    "h": 282.857,
    "s": 46.281,
    "l": 52.549
  },
  "oklch": {
    "l": 0.56959,
    "c": 0.17974,
    "h": 315.2
  },
  "luminance": 0.16436
}

Semantic roles & 50–950 ramp

primary
#9E4EBE
secondary
#A9CC9C
accent
#D65278
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9E4EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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