#9E4DBE#9E4DBE

#9E4DBE is a mid, vivid purple. Relative luminance 0.163; OKLCH L 56.8% C 0.181 H 315.3°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#9E4DBE
RGBrgb(158, 77, 190)
HSLhsl(283, 47%, 52%)
HSVhsv(283, 59%, 75%)
CMYKcmyk(16.8%, 59.5%, 0%, 25.5%)
CIE-LABlab(47.36, 51.67, -45.55)
CIE-LCHlch(47.36, 68.88, 318.60°)
OKLaboklab(56.83% 0.1288 -0.1275)
OKLCHoklch(56.83% 0.181 315.3)
XYZxyz(26.0472, 16.2954, 50.4785)
Luminance0.1630 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4DBE #6DBE4D
analogous
#664DBE #9E4DBE #BE4DA5
triadic
#9E4DBE #BE9E4D #4DBE9E
tetradic
#9E4DBE #BE664D #6DBE4D #4DA5BE
square
#9E4DBE #BE664D #6DBE4D #4DA5BE
split-complementary
#9E4DBE #A5BE4D #4DBE66
monochromatic
#57276A #7C3797 #9E4DBE #B67ACE #CFA7DF

Accessibility & contrast

On white

4.93
#9E4DBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#9E4DBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E4DBE
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4DBE#FFFFFF#000000##FFFFFF
##9E4DBE1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6CC2
Deuteranopia (green-blind)
#4C73BB
Tritanopia (blue-blind)
#9C617E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9e4dbe;
/* rgb */ color: rgb(158, 77, 190);
/* oklch */ color: oklch(56.8% 0.181 315.3);
Tailwind
colors: {
  custom: {
    50: '#bd83d2',
    500: '#9e4dbe',
    950: '#000000',
  },
}
SCSS
$custom: #9e4dbe;
$custom-light: #bd83d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4dbe",
  "rgb": {
    "r": 158,
    "g": 77,
    "b": 190
  },
  "hsl": {
    "h": 283.009,
    "s": 46.502,
    "l": 52.353
  },
  "oklch": {
    "l": 0.56826,
    "c": 0.18123,
    "h": 315.3
  },
  "luminance": 0.16295
}

Semantic roles & 50–950 ramp

primary
#9E4DBE
secondary
#A9CC9B
accent
#D65277
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9E4DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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