#9E258E#9E258E

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

Color values

HEX#9E258E
RGBrgb(158, 37, 142)
HSLhsl(308, 62%, 38%)
HSVhsv(308, 77%, 62%)
CMYKcmyk(0%, 76.6%, 10.1%, 38%)
CIE-LABlab(38.81, 59.39, -30.51)
CIE-LCHlch(38.81, 66.77, 332.81°)
OKLaboklab(49.79% 0.1725 -0.0836)
OKLCHoklch(49.79% 0.192 334.2)
XYZxyz(19.6448, 10.5470, 26.5871)
Luminance0.1055 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E258E #259E35
analogous
#71259E #9E258E #9E2551
triadic
#9E258E #8E9E25 #258E9E
tetradic
#9E258E #9E7125 #259E35 #25519E
square
#9E258E #9E7125 #259E35 #25519E
split-complementary
#9E258E #519E25 #259E71
monochromatic
#3B0E35 #6C1961 #9E258E #CF31BA #DA63CB

Accessibility & contrast

On white

6.75
#9E258E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9E258E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E258E
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E258E#FFFFFF#000000##FFFFFF
##9E258E1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225091
Deuteranopia (green-blind)
#50628B
Tritanopia (blue-blind)
#A63158
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9e258e;
/* rgb */ color: rgb(158, 37, 142);
/* oklch */ color: oklch(49.8% 0.192 334.2);
Tailwind
colors: {
  custom: {
    50: '#be6daf',
    500: '#9e258e',
    950: '#000000',
  },
}
SCSS
$custom: #9e258e;
$custom-light: #be6daf;
$custom-dark: #000000;
JSON
{
  "hex": "#9e258e",
  "rgb": {
    "r": 158,
    "g": 37,
    "b": 142
  },
  "hsl": {
    "h": 307.934,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49789,
    "c": 0.19172,
    "h": 334.2
  },
  "luminance": 0.10545
}

Semantic roles & 50–950 ramp

primary
#9E258E
secondary
#5FC06C
accent
#E55843
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #9E258E

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

Preview Lab → · Contrast checker → · Palette generator →

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