#9E38BC#9E38BC

#9E38BC is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.2% C 0.208 H 317.5°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#9E38BC
RGBrgb(158, 56, 188)
HSLhsl(286, 54%, 48%)
HSVhsv(286, 70%, 74%)
CMYKcmyk(16%, 70.2%, 0%, 26.3%)
CIE-LABlab(43.84, 60.66, -50.01)
CIE-LCHlch(43.84, 78.61, 320.50°)
OKLaboklab(54.25% 0.1532 -0.1404)
OKLCHoklch(54.25% 0.208 317.5)
XYZxyz(24.5905, 13.7293, 48.9219)
Luminance0.1373 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E38BC #56BC38
analogous
#5C38BC #9E38BC #BC3898
triadic
#9E38BC #BC9E38 #38BC9E
tetradic
#9E38BC #BC5C38 #56BC38 #3898BC
square
#9E38BC #BC5C38 #56BC38 #3898BC
split-complementary
#9E38BC #98BC38 #38BC5C
monochromatic
#4F1C5E #762A8D #9E38BC #B761D0 #CC90DE

Accessibility & contrast

On white

5.61
#9E38BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#9E38BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E38BC
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E38BC#FFFFFF#000000##FFFFFF
##9E38BC1.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C0
Deuteranopia (green-blind)
#3C6BB9
Tritanopia (blue-blind)
#9D5276
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9e38bc;
/* rgb */ color: rgb(158, 56, 188);
/* oklch */ color: oklch(54.2% 0.208 317.5);
Tailwind
colors: {
  custom: {
    50: '#be77d1',
    500: '#9e38bc',
    950: '#000000',
  },
}
SCSS
$custom: #9e38bc;
$custom-light: #be77d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e38bc",
  "rgb": {
    "r": 158,
    "g": 56,
    "b": 188
  },
  "hsl": {
    "h": 286.364,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54249,
    "c": 0.2078,
    "h": 317.5
  },
  "luminance": 0.13728
}

Semantic roles & 50–950 ramp

primary
#9E38BC
secondary
#96C987
accent
#DD4A6C
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9E38BC

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

Preview Lab → · Contrast checker → · Palette generator →

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