#9E25A9#9E25A9

#9E25A9 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.4% C 0.212 H 324.3°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#9E25A9
RGBrgb(158, 37, 169)
HSLhsl(295, 64%, 40%)
HSVhsv(295, 78%, 66%)
CMYKcmyk(6.5%, 78.1%, 0%, 33.7%)
CIE-LABlab(40.34, 63.78, -44.39)
CIE-LCHlch(40.34, 77.71, 325.16°)
OKLaboklab(51.38% 0.1723 -0.1239)
OKLCHoklch(51.38% 0.212 324.3)
XYZxyz(21.9230, 11.4582, 38.5854)
Luminance0.1146 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E25A9 #30A925
analogous
#5C25A9 #9E25A9 #A92572
triadic
#9E25A9 #A99E25 #25A99E
tetradic
#9E25A9 #A95C25 #30A925 #2572A9
square
#9E25A9 #A95C25 #30A925 #2572A9
split-complementary
#9E25A9 #72A925 #25A95C
monochromatic
#400F45 #6F1A77 #9E25A9 #C638D3 #D56ADE

Accessibility & contrast

On white

6.38
#9E25A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#9E25A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E25A9
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E25A9#FFFFFF#000000##FFFFFF
##9E25A91.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AC
Deuteranopia (green-blind)
#4064A6
Tritanopia (blue-blind)
#A13F67
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9e25a9;
/* rgb */ color: rgb(158, 37, 169);
/* oklch */ color: oklch(51.4% 0.212 324.3);
Tailwind
colors: {
  custom: {
    50: '#bf6ec3',
    500: '#9e25a9',
    950: '#000000',
  },
}
SCSS
$custom: #9e25a9;
$custom-light: #bf6ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e25a9",
  "rgb": {
    "r": 158,
    "g": 37,
    "b": 169
  },
  "hsl": {
    "h": 295,
    "s": 64.078,
    "l": 40.392
  },
  "oklch": {
    "l": 0.5138,
    "c": 0.21221,
    "h": 324.3
  },
  "luminance": 0.11457
}

Semantic roles & 50–950 ramp

primary
#9E25A9
secondary
#6DC465
accent
#E7414F
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #9E25A9

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

Preview Lab → · Contrast checker → · Palette generator →

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