#9E38C8#9E38C8

#9E38C8 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.0% C 0.219 H 314.0°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#9E38C8
RGBrgb(158, 56, 200)
HSLhsl(283, 57%, 50%)
HSVhsv(283, 72%, 78%)
CMYKcmyk(21%, 72%, 0%, 21.6%)
CIE-LABlab(44.62, 63.04, -55.75)
CIE-LCHlch(44.62, 84.16, 318.51°)
OKLaboklab(55.05% 0.152 -0.1573)
OKLCHoklch(55.05% 0.219 314)
XYZxyz(25.9383, 14.2684, 56.0201)
Luminance0.1427 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E38C8 #62C838
analogous
#5638C8 #9E38C8 #C838AA
triadic
#9E38C8 #C89E38 #38C89E
tetradic
#9E38C8 #C85638 #62C838 #38AAC8
square
#9E38C8 #C85638 #62C838 #38AAC8
split-complementary
#9E38C8 #AAC838 #38C856
monochromatic
#531D69 #782A99 #9E38C8 #B568D5 #CD98E3

Accessibility & contrast

On white

5.45
#9E38C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#9E38C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E38C8
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E38C8#FFFFFF#000000##FFFFFF
##9E38C81.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CC
Deuteranopia (green-blind)
#2F6CC5
Tritanopia (blue-blind)
#9A577D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9e38c8;
/* rgb */ color: rgb(158, 56, 200);
/* oklch */ color: oklch(55.0% 0.219 314.0);
Tailwind
colors: {
  custom: {
    50: '#bf78d9',
    500: '#9e38c8',
    950: '#000000',
  },
}
SCSS
$custom: #9e38c8;
$custom-light: #bf78d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9e38c8",
  "rgb": {
    "r": 158,
    "g": 56,
    "b": 200
  },
  "hsl": {
    "h": 282.5,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.55047,
    "c": 0.21871,
    "h": 314
  },
  "luminance": 0.14268
}

Semantic roles & 50–950 ramp

primary
#9E38C8
secondary
#A0CE8E
accent
#E04874
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9E38C8

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

Preview Lab → · Contrast checker → · Palette generator →

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