#9E38AA#9E38AA

#9E38AA is a mid, vivid purple. Relative luminance 0.130; OKLCH L 53.1% C 0.192 H 323.3°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#9E38AA
RGBrgb(158, 56, 170)
HSLhsl(294, 50%, 44%)
HSVhsv(294, 67%, 67%)
CMYKcmyk(7.1%, 67.1%, 0%, 33.3%)
CIE-LABlab(42.76, 57.24, -41.12)
CIE-LCHlch(42.76, 70.48, 324.31°)
OKLaboklab(53.13% 0.1538 -0.1145)
OKLCHoklch(53.13% 0.192 323.3)
XYZxyz(22.7697, 13.0010, 39.3325)
Luminance0.1300 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E38AA #44AA38
analogous
#6538AA #9E38AA #AA387D
triadic
#9E38AA #AA9E38 #38AA9E
tetradic
#9E38AA #AA6538 #44AA38 #387DAA
square
#9E38AA #AA6538 #44AA38 #387DAA
split-complementary
#9E38AA #7DAA38 #38AA65
monochromatic
#481A4E #73297C #9E38AA #BC57C8 #CE85D7

Accessibility & contrast

On white

5.83
#9E38AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#9E38AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E38AA
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E38AA#FFFFFF#000000##FFFFFF
##9E38AA1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5DAD
Deuteranopia (green-blind)
#4A69A7
Tritanopia (blue-blind)
#A14A6C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9e38aa;
/* rgb */ color: rgb(158, 56, 170);
/* oklch */ color: oklch(53.1% 0.192 323.3);
Tailwind
colors: {
  custom: {
    50: '#be77c4',
    500: '#9e38aa',
    950: '#000000',
  },
}
SCSS
$custom: #9e38aa;
$custom-light: #be77c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e38aa",
  "rgb": {
    "r": 158,
    "g": 56,
    "b": 170
  },
  "hsl": {
    "h": 293.684,
    "s": 50.442,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5313,
    "c": 0.19175,
    "h": 323.3
  },
  "luminance": 0.13
}

Semantic roles & 50–950 ramp

primary
#9E38AA
secondary
#84C17D
accent
#DA4E5D
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9E38AA

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

Preview Lab → · Contrast checker → · Palette generator →

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