#9E258A#9E258A

#9E258A is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.6% C 0.189 H 335.8°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#9E258A
RGBrgb(158, 37, 138)
HSLhsl(310, 62%, 38%)
HSVhsv(310, 77%, 62%)
CMYKcmyk(0%, 76.6%, 12.7%, 38%)
CIE-LABlab(38.60, 58.79, -28.38)
CIE-LCHlch(38.60, 65.28, 334.23°)
OKLaboklab(49.58% 0.1723 -0.0775)
OKLCHoklch(49.58% 0.189 335.8)
XYZxyz(19.3499, 10.4290, 25.0337)
Luminance0.1043 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E258A #259E39
analogous
#75259E #9E258A #9E254E
triadic
#9E258A #8A9E25 #258A9E
tetradic
#9E258A #9E7525 #259E39 #254E9E
square
#9E258A #9E7525 #259E39 #254E9E
split-complementary
#9E258A #4E9E25 #259E75
monochromatic
#3B0E33 #6C195F #9E258A #CF31B5 #DA63C7

Accessibility & contrast

On white

6.81
#9E258A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9E258A
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E258A#FFFFFF#000000##FFFFFF
##9E258A1.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264F8D
Deuteranopia (green-blind)
#526187
Tritanopia (blue-blind)
#A62F55
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9e258a;
/* rgb */ color: rgb(158, 37, 138);
/* oklch */ color: oklch(49.6% 0.189 335.8);
Tailwind
colors: {
  custom: {
    50: '#be6dac',
    500: '#9e258a',
    950: '#000000',
  },
}
SCSS
$custom: #9e258a;
$custom-light: #be6dac;
$custom-dark: #000000;
JSON
{
  "hex": "#9e258a",
  "rgb": {
    "r": 158,
    "g": 37,
    "b": 138
  },
  "hsl": {
    "h": 309.917,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49575,
    "c": 0.18888,
    "h": 335.8
  },
  "luminance": 0.10427
}

Semantic roles & 50–950 ramp

primary
#9E258A
secondary
#5FC06F
accent
#E55E43
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #9E258A

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

Preview Lab → · Contrast checker → · Palette generator →

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