#9E25A6#9E25A6

#9E25A6 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.2% C 0.210 H 325.3°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#9E25A6
RGBrgb(158, 37, 166)
HSLhsl(296, 64%, 40%)
HSVhsv(296, 78%, 65%)
CMYKcmyk(4.8%, 77.7%, 0%, 34.9%)
CIE-LABlab(40.16, 63.27, -42.89)
CIE-LCHlch(40.16, 76.44, 325.87°)
OKLaboklab(51.19% 0.1725 -0.1195)
OKLCHoklch(51.19% 0.21 325.3)
XYZxyz(21.6446, 11.3469, 37.1191)
Luminance0.1134 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E25A6 #2DA625
analogous
#5E25A6 #9E25A6 #A6256E
triadic
#9E25A6 #A69E25 #25A69E
tetradic
#9E25A6 #A65E25 #2DA625 #256EA6
square
#9E25A6 #A65E25 #2DA625 #256EA6
split-complementary
#9E25A6 #6EA625 #25A65E
monochromatic
#3F0F42 #6E1A74 #9E25A6 #C936D2 #D668DD

Accessibility & contrast

On white

6.42
#9E25A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#9E25A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E25A6
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E25A6#FFFFFF#000000##FFFFFF
##9E25A61.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A9
Deuteranopia (green-blind)
#4264A3
Tritanopia (blue-blind)
#A23D65
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9e25a6;
/* rgb */ color: rgb(158, 37, 166);
/* oklch */ color: oklch(51.2% 0.210 325.3);
Tailwind
colors: {
  custom: {
    50: '#bf6ec1',
    500: '#9e25a6',
    950: '#000000',
  },
}
SCSS
$custom: #9e25a6;
$custom-light: #bf6ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e25a6",
  "rgb": {
    "r": 158,
    "g": 37,
    "b": 166
  },
  "hsl": {
    "h": 296.279,
    "s": 63.547,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51191,
    "c": 0.20984,
    "h": 325.3
  },
  "luminance": 0.11345
}

Semantic roles & 50–950 ramp

primary
#9E25A6
secondary
#69C364
accent
#E7414B
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9E25A6

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

Preview Lab → · Contrast checker → · Palette generator →

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