#9E258F#9E258F

#9E258F is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.8% C 0.192 H 333.7°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#9E258F
RGBrgb(158, 37, 143)
HSLhsl(307, 62%, 38%)
HSVhsv(307, 77%, 62%)
CMYKcmyk(0%, 76.6%, 9.5%, 38%)
CIE-LABlab(38.86, 59.54, -31.04)
CIE-LCHlch(38.86, 67.15, 332.46°)
OKLaboklab(49.84% 0.1726 -0.0851)
OKLCHoklch(49.84% 0.192 333.7)
XYZxyz(19.7202, 10.5771, 26.9843)
Luminance0.1057 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E258F #259E34
analogous
#70259E #9E258F #9E2552
triadic
#9E258F #8F9E25 #258F9E
tetradic
#9E258F #9E7025 #259E34 #25529E
square
#9E258F #9E7025 #259E34 #25529E
split-complementary
#9E258F #529E25 #259E70
monochromatic
#3B0E35 #6C1962 #9E258F #CF31BB #DA63CC

Accessibility & contrast

On white

6.74
#9E258F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#9E258F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E258F
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E258F#FFFFFF#000000##FFFFFF
##9E258F1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215092
Deuteranopia (green-blind)
#4F628C
Tritanopia (blue-blind)
#A53158
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9e258f;
/* rgb */ color: rgb(158, 37, 143);
/* oklch */ color: oklch(49.8% 0.192 333.7);
Tailwind
colors: {
  custom: {
    50: '#be6db0',
    500: '#9e258f',
    950: '#000000',
  },
}
SCSS
$custom: #9e258f;
$custom-light: #be6db0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e258f",
  "rgb": {
    "r": 158,
    "g": 37,
    "b": 143
  },
  "hsl": {
    "h": 307.438,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49844,
    "c": 0.19245,
    "h": 333.7
  },
  "luminance": 0.10575
}

Semantic roles & 50–950 ramp

primary
#9E258F
secondary
#5FC06B
accent
#E55743
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #9E258F

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

Preview Lab → · Contrast checker → · Palette generator →

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