#9E25A2#9E25A2

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

Color values

HEX#9E25A2
RGBrgb(158, 37, 162)
HSLhsl(298, 63%, 39%)
HSVhsv(298, 77%, 64%)
CMYKcmyk(2.5%, 77.2%, 0%, 36.5%)
CIE-LABlab(39.92, 62.59, -40.87)
CIE-LCHlch(39.92, 74.76, 326.86°)
OKLaboklab(50.94% 0.1727 -0.1136)
OKLCHoklch(50.94% 0.207 326.7)
XYZxyz(21.2833, 11.2024, 35.2167)
Luminance0.1120 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E25A2 #29A225
analogous
#6025A2 #9E25A2 #A22568
triadic
#9E25A2 #A29E25 #25A29E
tetradic
#9E25A2 #A26025 #29A225 #2568A2
square
#9E25A2 #A26025 #29A225 #2568A2
split-complementary
#9E25A2 #68A225 #25A260
monochromatic
#3D0E3E #6D1A70 #9E25A2 #CC34D1 #D865DC

Accessibility & contrast

On white

6.48
#9E25A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#9E25A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E25A2
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E25A2#FFFFFF#000000##FFFFFF
##9E25A21.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A5
Deuteranopia (green-blind)
#45639F
Tritanopia (blue-blind)
#A23B63
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9e25a2;
/* rgb */ color: rgb(158, 37, 162);
/* oklch */ color: oklch(50.9% 0.207 326.7);
Tailwind
colors: {
  custom: {
    50: '#be6ebe',
    500: '#9e25a2',
    950: '#000000',
  },
}
SCSS
$custom: #9e25a2;
$custom-light: #be6ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#9e25a2",
  "rgb": {
    "r": 158,
    "g": 37,
    "b": 162
  },
  "hsl": {
    "h": 298.08,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50944,
    "c": 0.20673,
    "h": 326.7
  },
  "luminance": 0.11201
}

Semantic roles & 50–950 ramp

primary
#9E25A2
secondary
#64C261
accent
#E64247
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9E25A2

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

Preview Lab → · Contrast checker → · Palette generator →

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