#9E25B2#9E25B2

#9E25B2 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 52.0% C 0.219 H 321.4°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#9E25B2
RGBrgb(158, 37, 178)
HSLhsl(291, 66%, 42%)
HSVhsv(291, 79%, 70%)
CMYKcmyk(11.2%, 79.2%, 0%, 30.2%)
CIE-LABlab(40.91, 65.36, -48.83)
CIE-LCHlch(40.91, 81.59, 323.24°)
OKLaboklab(51.96% 0.1714 -0.1369)
OKLCHoklch(51.96% 0.219 321.4)
XYZxyz(22.7971, 11.8079, 43.1892)
Luminance0.1181 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E25B2 #39B225
analogous
#5725B2 #9E25B2 #B22580
triadic
#9E25B2 #B29E25 #25B29E
tetradic
#9E25B2 #B25725 #39B225 #2580B2
square
#9E25B2 #B25725 #39B225 #2580B2
split-complementary
#9E25B2 #80B225 #25B257
monochromatic
#44104D #711A7F #9E25B2 #C13DD7 #D170E1

Accessibility & contrast

On white

6.25
#9E25B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#9E25B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E25B2
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E25B2#FFFFFF#000000##FFFFFF
##9E25B21.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#3865AF
Tritanopia (blue-blind)
#9F436C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9e25b2;
/* rgb */ color: rgb(158, 37, 178);
/* oklch */ color: oklch(52.0% 0.219 321.4);
Tailwind
colors: {
  custom: {
    50: '#bf6fca',
    500: '#9e25b2',
    950: '#000000',
  },
}
SCSS
$custom: #9e25b2;
$custom-light: #bf6fca;
$custom-dark: #000000;
JSON
{
  "hex": "#9e25b2",
  "rgb": {
    "r": 158,
    "g": 37,
    "b": 178
  },
  "hsl": {
    "h": 291.489,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51962,
    "c": 0.21936,
    "h": 321.4
  },
  "luminance": 0.11807
}

Semantic roles & 50–950 ramp

primary
#9E25B2
secondary
#78C86B
accent
#E93F57
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9E25B2

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

Preview Lab → · Contrast checker → · Palette generator →

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