#9E238F#9E238F

#9E238F is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.7% C 0.194 H 333.7°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#9E238F
RGBrgb(158, 35, 143)
HSLhsl(307, 64%, 38%)
HSVhsv(307, 78%, 62%)
CMYKcmyk(0%, 77.8%, 9.5%, 38%)
CIE-LABlab(38.65, 60.14, -31.37)
CIE-LCHlch(38.65, 67.83, 332.45°)
OKLaboklab(49.69% 0.1744 -0.0861)
OKLCHoklch(49.69% 0.194 333.7)
XYZxyz(19.6597, 10.4561, 26.9641)
Luminance0.1045 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E238F #239E32
analogous
#6F239E #9E238F #9E2351
triadic
#9E238F #8F9E23 #238F9E
tetradic
#9E238F #9E6F23 #239E32 #23519E
square
#9E238F #9E6F23 #239E32 #23519E
split-complementary
#9E238F #519E23 #239E6F
monochromatic
#3A0D34 #6C1862 #9E238F #D02EBC #DC60CD

Accessibility & contrast

On white

6.79
#9E238F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9E238F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E238F
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E238F#FFFFFF#000000##FFFFFF
##9E238F1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5092
Deuteranopia (green-blind)
#4F618C
Tritanopia (blue-blind)
#A63058
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9e238f;
/* rgb */ color: rgb(158, 35, 143);
/* oklch */ color: oklch(49.7% 0.194 333.7);
Tailwind
colors: {
  custom: {
    50: '#be6db0',
    500: '#9e238f',
    950: '#000000',
  },
}
SCSS
$custom: #9e238f;
$custom-light: #be6db0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e238f",
  "rgb": {
    "r": 158,
    "g": 35,
    "b": 143
  },
  "hsl": {
    "h": 307.317,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49693,
    "c": 0.19445,
    "h": 333.7
  },
  "luminance": 0.10454
}

Semantic roles & 50–950 ramp

primary
#9E238F
secondary
#5CC168
accent
#E75541
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #9E238F

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

Preview Lab → · Contrast checker → · Palette generator →

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