#9E258D#9E258D

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

Color values

HEX#9E258D
RGBrgb(158, 37, 141)
HSLhsl(308, 62%, 38%)
HSVhsv(308, 77%, 62%)
CMYKcmyk(0%, 76.6%, 10.8%, 38%)
CIE-LABlab(38.75, 59.24, -29.98)
CIE-LCHlch(38.75, 66.39, 333.15°)
OKLaboklab(49.74% 0.1725 -0.0821)
OKLCHoklch(49.74% 0.191 334.6)
XYZxyz(19.5701, 10.5171, 26.1934)
Luminance0.1051 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E258D #259E36
analogous
#72259E #9E258D #9E2550
triadic
#9E258D #8D9E25 #258D9E
tetradic
#9E258D #9E7225 #259E36 #25509E
square
#9E258D #9E7225 #259E36 #25509E
split-complementary
#9E258D #509E25 #259E72
monochromatic
#3B0E34 #6C1961 #9E258D #CF31B9 #DA63CA

Accessibility & contrast

On white

6.77
#9E258D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#9E258D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E258D
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E258D#FFFFFF#000000##FFFFFF
##9E258D1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235090
Deuteranopia (green-blind)
#50628A
Tritanopia (blue-blind)
#A63057
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9e258d;
/* rgb */ color: rgb(158, 37, 141);
/* oklch */ color: oklch(49.7% 0.191 334.6);
Tailwind
colors: {
  custom: {
    50: '#be6dae',
    500: '#9e258d',
    950: '#000000',
  },
}
SCSS
$custom: #9e258d;
$custom-light: #be6dae;
$custom-dark: #000000;
JSON
{
  "hex": "#9e258d",
  "rgb": {
    "r": 158,
    "g": 37,
    "b": 141
  },
  "hsl": {
    "h": 308.43,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49735,
    "c": 0.19101,
    "h": 334.6
  },
  "luminance": 0.10515
}

Semantic roles & 50–950 ramp

primary
#9E258D
secondary
#5FC06D
accent
#E55943
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #9E258D

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

Preview Lab → · Contrast checker → · Palette generator →

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