#9E258B#9E258B

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

Color values

HEX#9E258B
RGBrgb(158, 37, 139)
HSLhsl(309, 62%, 38%)
HSVhsv(309, 77%, 62%)
CMYKcmyk(0%, 76.6%, 12%, 38%)
CIE-LABlab(38.65, 58.93, -28.92)
CIE-LCHlch(38.65, 65.65, 333.86°)
OKLaboklab(49.63% 0.1723 -0.079)
OKLCHoklch(49.63% 0.19 335.4)
XYZxyz(19.4226, 10.4581, 25.4168)
Luminance0.1046 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E258B #259E38
analogous
#74259E #9E258B #9E254F
triadic
#9E258B #8B9E25 #258B9E
tetradic
#9E258B #9E7425 #259E38 #254F9E
square
#9E258B #9E7425 #259E38 #254F9E
split-complementary
#9E258B #4F9E25 #259E74
monochromatic
#3B0E34 #6C195F #9E258B #CF31B6 #DA63C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E258B#FFFFFF#000000##FFFFFF
##9E258B1.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)
#25508E
Deuteranopia (green-blind)
#516188
Tritanopia (blue-blind)
#A62F56
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9e258b;
/* rgb */ color: rgb(158, 37, 139);
/* oklch */ color: oklch(49.6% 0.190 335.4);
Tailwind
colors: {
  custom: {
    50: '#be6dad',
    500: '#9e258b',
    950: '#000000',
  },
}
SCSS
$custom: #9e258b;
$custom-light: #be6dad;
$custom-dark: #000000;
JSON
{
  "hex": "#9e258b",
  "rgb": {
    "r": 158,
    "g": 37,
    "b": 139
  },
  "hsl": {
    "h": 309.421,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49628,
    "c": 0.18959,
    "h": 335.4
  },
  "luminance": 0.10456
}

Semantic roles & 50–950 ramp

primary
#9E258B
secondary
#5FC06E
accent
#E55C43
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #9E258B

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

Preview Lab → · Contrast checker → · Palette generator →

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