#9E38BE#9E38BE

#9E38BE is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.4% C 0.210 H 316.9°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#9E38BE
RGBrgb(158, 56, 190)
HSLhsl(286, 54%, 48%)
HSVhsv(286, 71%, 75%)
CMYKcmyk(16.8%, 70.5%, 0%, 25.5%)
CIE-LABlab(43.97, 61.05, -50.97)
CIE-LCHlch(43.97, 79.53, 320.14°)
OKLaboklab(54.38% 0.153 -0.1433)
OKLCHoklch(54.38% 0.21 316.9)
XYZxyz(24.8076, 13.8162, 50.0653)
Luminance0.1381 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E38BE #58BE38
analogous
#5B38BE #9E38BE #BE389B
triadic
#9E38BE #BE9E38 #38BE9E
tetradic
#9E38BE #BE5B38 #58BE38 #389BBE
square
#9E38BE #BE5B38 #58BE38 #389BBE
split-complementary
#9E38BE #9BBE38 #38BE5B
monochromatic
#4F1C5F #772A8F #9E38BE #B662D1 #CC92DF

Accessibility & contrast

On white

5.58
#9E38BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#9E38BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E38BE
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E38BE#FFFFFF#000000##FFFFFF
##9E38BE1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C2
Deuteranopia (green-blind)
#3A6BBB
Tritanopia (blue-blind)
#9C5377
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9e38be;
/* rgb */ color: rgb(158, 56, 190);
/* oklch */ color: oklch(54.4% 0.210 316.9);
Tailwind
colors: {
  custom: {
    50: '#be78d2',
    500: '#9e38be',
    950: '#000000',
  },
}
SCSS
$custom: #9e38be;
$custom-light: #be78d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9e38be",
  "rgb": {
    "r": 158,
    "g": 56,
    "b": 190
  },
  "hsl": {
    "h": 285.672,
    "s": 54.472,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54379,
    "c": 0.20961,
    "h": 316.9
  },
  "luminance": 0.13815
}

Semantic roles & 50–950 ramp

primary
#9E38BE
secondary
#98CA88
accent
#DE4A6D
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9E38BE

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

Preview Lab → · Contrast checker → · Palette generator →

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