#8E25AB#8E25AB

#8E25AB is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.2% C 0.207 H 317.6°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#8E25AB
RGBrgb(142, 37, 171)
HSLhsl(287, 64%, 41%)
HSVhsv(287, 78%, 67%)
CMYKcmyk(17%, 78.4%, 0%, 32.9%)
CIE-LABlab(37.87, 61.01, -49.69)
CIE-LCHlch(37.87, 78.69, 320.84°)
OKLaboklab(49.16% 0.1532 -0.1399)
OKLCHoklch(49.16% 0.207 317.6)
XYZxyz(19.1665, 10.0151, 39.4437)
Luminance0.1001 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E25AB #42AB25
analogous
#4B25AB #8E25AB #AB2585
triadic
#8E25AB #AB8E25 #25AB8E
tetradic
#8E25AB #AB4B25 #42AB25 #2585AB
square
#8E25AB #AB4B25 #42AB25 #2585AB
split-complementary
#8E25AB #85AB25 #25AB4B
monochromatic
#3A0F46 #641A79 #8E25AB #B339D4 #C66BDF

Accessibility & contrast

On white

6.99
#8E25AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#8E25AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E25AB
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E25AB#FFFFFF#000000##FFFFFF
##8E25AB1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AF
Deuteranopia (green-blind)
#295CA8
Tritanopia (blue-blind)
#8D4368
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8e25ab;
/* rgb */ color: rgb(142, 37, 171);
/* oklch */ color: oklch(49.2% 0.207 317.6);
Tailwind
colors: {
  custom: {
    50: '#b36cc5',
    500: '#8e25ab',
    950: '#000000',
  },
}
SCSS
$custom: #8e25ab;
$custom-light: #b36cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#8e25ab",
  "rgb": {
    "r": 142,
    "g": 37,
    "b": 171
  },
  "hsl": {
    "h": 287.015,
    "s": 64.423,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49163,
    "c": 0.20749,
    "h": 317.6
  },
  "luminance": 0.10014
}

Semantic roles & 50–950 ramp

primary
#8E25AB
secondary
#7BC567
accent
#E74065
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120813
muted
#817A82

Preview Lab

Preview with #8E25AB

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

Preview Lab → · Contrast checker → · Palette generator →

#8E25AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva