#8E25AA#8E25AA

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

Color values

HEX#8E25AA
RGBrgb(142, 37, 170)
HSLhsl(287, 64%, 41%)
HSVhsv(287, 78%, 67%)
CMYKcmyk(16.5%, 78.2%, 0%, 33.3%)
CIE-LABlab(37.80, 60.82, -49.21)
CIE-LCHlch(37.80, 78.23, 321.02°)
OKLaboklab(49.09% 0.1534 -0.1385)
OKLCHoklch(49.09% 0.207 317.9)
XYZxyz(19.0716, 9.9771, 38.9436)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E25AA #41AA25
analogous
#4B25AA #8E25AA #AA2584
triadic
#8E25AA #AA8E25 #25AA8E
tetradic
#8E25AA #AA4B25 #41AA25 #2584AA
square
#8E25AA #AA4B25 #41AA25 #2584AA
split-complementary
#8E25AA #84AA25 #25AA4B
monochromatic
#3A0F45 #641A78 #8E25AA #B338D4 #C66BDF

Accessibility & contrast

On white

7.01
#8E25AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E25AA
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E25AA#FFFFFF#000000##FFFFFF
##8E25AA1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AE
Deuteranopia (green-blind)
#2A5CA7
Tritanopia (blue-blind)
#8D4367
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8e25aa;
/* rgb */ color: rgb(142, 37, 170);
/* oklch */ color: oklch(49.1% 0.207 317.9);
Tailwind
colors: {
  custom: {
    50: '#b36cc4',
    500: '#8e25aa',
    950: '#000000',
  },
}
SCSS
$custom: #8e25aa;
$custom-light: #b36cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e25aa",
  "rgb": {
    "r": 142,
    "g": 37,
    "b": 170
  },
  "hsl": {
    "h": 287.368,
    "s": 64.251,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49093,
    "c": 0.20664,
    "h": 317.9
  },
  "luminance": 0.09976
}

Semantic roles & 50–950 ramp

primary
#8E25AA
secondary
#7AC566
accent
#E74164
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120813
muted
#817A82

Preview Lab

Preview with #8E25AA

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

Preview Lab → · Contrast checker → · Palette generator →

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