#9E259E#9E259E

#9E259E is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.7% C 0.204 H 328.1°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#9E259E
RGBrgb(158, 37, 158)
HSLhsl(300, 62%, 38%)
HSVhsv(300, 77%, 62%)
CMYKcmyk(0%, 76.6%, 0%, 38%)
CIE-LABlab(39.69, 61.93, -38.84)
CIE-LCHlch(39.69, 73.10, 327.91°)
OKLaboklab(50.7% 0.1728 -0.1077)
OKLCHoklch(50.7% 0.204 328.1)
XYZxyz(20.9334, 11.0624, 33.3738)
Luminance0.1106 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E259E #259E25
analogous
#61259E #9E259E #9E2561
triadic
#9E259E #9E9E25 #259E9E
tetradic
#9E259E #9E6125 #259E25 #25619E
square
#9E259E #9E6125 #259E25 #25619E
split-complementary
#9E259E #619E25 #259E61
monochromatic
#3B0E3B #6C196C #9E259E #CF31CF #DA63DA

Accessibility & contrast

On white

6.54
#9E259E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#9E259E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E259E
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E259E#FFFFFF#000000##FFFFFF
##9E259E1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0554A1
Deuteranopia (green-blind)
#47639B
Tritanopia (blue-blind)
#A33961
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9e259e;
/* rgb */ color: rgb(158, 37, 158);
/* oklch */ color: oklch(50.7% 0.204 328.1);
Tailwind
colors: {
  custom: {
    50: '#be6ebb',
    500: '#9e259e',
    950: '#000000',
  },
}
SCSS
$custom: #9e259e;
$custom-light: #be6ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#9e259e",
  "rgb": {
    "r": 158,
    "g": 37,
    "b": 158
  },
  "hsl": {
    "h": 300,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.50702,
    "c": 0.20364,
    "h": 328.1
  },
  "luminance": 0.11061
}

Semantic roles & 50–950 ramp

primary
#9E259E
secondary
#5FC05F
accent
#E54343
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9E259E

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

Preview Lab → · Contrast checker → · Palette generator →

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