#9E25A1#9E25A1

#9E25A1 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 50.9% C 0.206 H 327.0°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#9E25A1
RGBrgb(158, 37, 161)
HSLhsl(299, 63%, 39%)
HSVhsv(299, 77%, 63%)
CMYKcmyk(1.9%, 77%, 0%, 36.9%)
CIE-LABlab(39.86, 62.43, -40.37)
CIE-LCHlch(39.86, 74.34, 327.11°)
OKLaboklab(50.88% 0.1727 -0.1121)
OKLCHoklch(50.88% 0.206 327)
XYZxyz(21.1948, 11.1670, 34.7504)
Luminance0.1116 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E25A1 #28A125
analogous
#6025A1 #9E25A1 #A12566
triadic
#9E25A1 #A19E25 #25A19E
tetradic
#9E25A1 #A16025 #28A125 #2566A1
square
#9E25A1 #A16025 #28A125 #2566A1
split-complementary
#9E25A1 #66A125 #25A160
monochromatic
#3C0E3D #6D1A6F #9E25A1 #CC33D0 #D965DC

Accessibility & contrast

On white

6.50
#9E25A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#9E25A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E25A1
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E25A1#FFFFFF#000000##FFFFFF
##9E25A11.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A4
Deuteranopia (green-blind)
#45639E
Tritanopia (blue-blind)
#A33A62
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9e25a1;
/* rgb */ color: rgb(158, 37, 161);
/* oklch */ color: oklch(50.9% 0.206 327.0);
Tailwind
colors: {
  custom: {
    50: '#be6ebd',
    500: '#9e25a1',
    950: '#000000',
  },
}
SCSS
$custom: #9e25a1;
$custom-light: #be6ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#9e25a1",
  "rgb": {
    "r": 158,
    "g": 37,
    "b": 161
  },
  "hsl": {
    "h": 298.548,
    "s": 62.626,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50883,
    "c": 0.20596,
    "h": 327
  },
  "luminance": 0.11165
}

Semantic roles & 50–950 ramp

primary
#9E25A1
secondary
#63C161
accent
#E64246
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9E25A1

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

Preview Lab → · Contrast checker → · Palette generator →

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