#8E25A3#8E25A3

#8E25A3 is a mid, highly saturated purple. Relative luminance 0.097; OKLCH L 48.6% C 0.201 H 320.2°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#8E25A3
RGBrgb(142, 37, 163)
HSLhsl(290, 63%, 39%)
HSVhsv(290, 77%, 64%)
CMYKcmyk(12.9%, 77.3%, 0%, 36.1%)
CIE-LABlab(37.33, 59.50, -45.76)
CIE-LCHlch(37.33, 75.06, 322.44°)
OKLaboklab(48.61% 0.1543 -0.1284)
OKLCHoklch(48.61% 0.201 320.2)
XYZxyz(18.4269, 9.7192, 35.5486)
Luminance0.0972 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E25A3 #3AA325
analogous
#4F25A3 #8E25A3 #A32579
triadic
#8E25A3 #A38E25 #25A38E
tetradic
#8E25A3 #A34F25 #3AA325 #2579A3
square
#8E25A3 #A34F25 #3AA325 #2579A3
split-complementary
#8E25A3 #79A325 #25A34F
monochromatic
#370E3F #631A71 #8E25A3 #B734D1 #C966DC

Accessibility & contrast

On white

7.13
#8E25A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#8E25A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E25A3
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E25A3#FFFFFF#000000##FFFFFF
##8E25A31.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A6
Deuteranopia (green-blind)
#325BA0
Tritanopia (blue-blind)
#8F3F63
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8e25a3;
/* rgb */ color: rgb(142, 37, 163);
/* oklch */ color: oklch(48.6% 0.201 320.2);
Tailwind
colors: {
  custom: {
    50: '#b36cbf',
    500: '#8e25a3',
    950: '#000000',
  },
}
SCSS
$custom: #8e25a3;
$custom-light: #b36cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#8e25a3",
  "rgb": {
    "r": 142,
    "g": 37,
    "b": 163
  },
  "hsl": {
    "h": 290,
    "s": 63,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48614,
    "c": 0.2007,
    "h": 320.2
  },
  "luminance": 0.09718
}

Semantic roles & 50–950 ramp

primary
#8E25A3
secondary
#72C262
accent
#E6425D
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8E25A3

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

Preview Lab → · Contrast checker → · Palette generator →

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