#8E25A2#8E25A2

#8E25A2 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.5% C 0.200 H 320.6°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#8E25A2
RGBrgb(142, 37, 162)
HSLhsl(290, 63%, 39%)
HSVhsv(290, 77%, 64%)
CMYKcmyk(12.3%, 77.2%, 0%, 36.5%)
CIE-LABlab(37.27, 59.31, -45.26)
CIE-LCHlch(37.27, 74.61, 322.65°)
OKLaboklab(48.55% 0.1544 -0.1269)
OKLCHoklch(48.55% 0.2 320.6)
XYZxyz(18.3377, 9.6835, 35.0786)
Luminance0.0968 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E25A2 #39A225
analogous
#5025A2 #8E25A2 #A22578
triadic
#8E25A2 #A28E25 #25A28E
tetradic
#8E25A2 #A25025 #39A225 #2578A2
square
#8E25A2 #A25025 #39A225 #2578A2
split-complementary
#8E25A2 #78A225 #25A250
monochromatic
#370E3E #621A70 #8E25A2 #B734D1 #C965DC

Accessibility & contrast

On white

7.15
#8E25A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E25A2
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E25A2#FFFFFF#000000##FFFFFF
##8E25A21.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A5
Deuteranopia (green-blind)
#335B9F
Tritanopia (blue-blind)
#8F3F63
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8e25a2;
/* rgb */ color: rgb(142, 37, 162);
/* oklch */ color: oklch(48.5% 0.200 320.6);
Tailwind
colors: {
  custom: {
    50: '#b36cbe',
    500: '#8e25a2',
    950: '#000000',
  },
}
SCSS
$custom: #8e25a2;
$custom-light: #b36cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#8e25a2",
  "rgb": {
    "r": 142,
    "g": 37,
    "b": 162
  },
  "hsl": {
    "h": 290.4,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48546,
    "c": 0.19986,
    "h": 320.6
  },
  "luminance": 0.09683
}

Semantic roles & 50–950 ramp

primary
#8E25A2
secondary
#71C261
accent
#E6425C
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8E25A2

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

Preview Lab → · Contrast checker → · Palette generator →

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