#9E25A8#9E25A8

#9E25A8 is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.3% C 0.211 H 324.6°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#9E25A8
RGBrgb(158, 37, 168)
HSLhsl(295, 64%, 40%)
HSVhsv(295, 78%, 66%)
CMYKcmyk(6%, 78%, 0%, 34.1%)
CIE-LABlab(40.28, 63.61, -43.89)
CIE-LCHlch(40.28, 77.28, 325.39°)
OKLaboklab(51.32% 0.1724 -0.1224)
OKLCHoklch(51.32% 0.211 324.6)
XYZxyz(21.8294, 11.4208, 38.0929)
Luminance0.1142 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E25A8 #2FA825
analogous
#5D25A8 #9E25A8 #A82570
triadic
#9E25A8 #A89E25 #25A89E
tetradic
#9E25A8 #A85D25 #2FA825 #2570A8
square
#9E25A8 #A85D25 #2FA825 #2570A8
split-complementary
#9E25A8 #70A825 #25A85D
monochromatic
#400F44 #6F1A76 #9E25A8 #C737D3 #D569DE

Accessibility & contrast

On white

6.40
#9E25A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#9E25A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E25A8
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E25A8#FFFFFF#000000##FFFFFF
##9E25A81.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AB
Deuteranopia (green-blind)
#4164A5
Tritanopia (blue-blind)
#A13E66
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9e25a8;
/* rgb */ color: rgb(158, 37, 168);
/* oklch */ color: oklch(51.3% 0.211 324.6);
Tailwind
colors: {
  custom: {
    50: '#bf6ec2',
    500: '#9e25a8',
    950: '#000000',
  },
}
SCSS
$custom: #9e25a8;
$custom-light: #bf6ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#9e25a8",
  "rgb": {
    "r": 158,
    "g": 37,
    "b": 168
  },
  "hsl": {
    "h": 295.42,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51316,
    "c": 0.21141,
    "h": 324.6
  },
  "luminance": 0.11419
}

Semantic roles & 50–950 ramp

primary
#9E25A8
secondary
#6CC465
accent
#E7414E
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #9E25A8

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

Preview Lab → · Contrast checker → · Palette generator →

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