#8E25B9#8E25B9

#8E25B9 is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.2% C 0.220 H 313.4°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#8E25B9
RGBrgb(142, 37, 185)
HSLhsl(283, 67%, 44%)
HSVhsv(283, 80%, 73%)
CMYKcmyk(23.2%, 80%, 0%, 27.5%)
CIE-LABlab(38.86, 63.74, -56.40)
CIE-LCHlch(38.86, 85.11, 318.50°)
OKLaboklab(50.17% 0.1508 -0.1596)
OKLCHoklch(50.17% 0.22 313.4)
XYZxyz(20.5723, 10.5774, 46.8475)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E25B9 #50B925
analogous
#4425B9 #8E25B9 #B9259A
triadic
#8E25B9 #B98E25 #25B98E
tetradic
#8E25B9 #B94425 #50B925 #259AB9
square
#8E25B9 #B94425 #50B925 #259AB9
split-complementary
#8E25B9 #9AB925 #25B944
monochromatic
#401153 #671B86 #8E25B9 #AD42D9 #C375E3

Accessibility & contrast

On white

6.74
#8E25B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#8E25B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E25B9
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E25B9#FFFFFF#000000##FFFFFF
##8E25B91.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BD
Deuteranopia (green-blind)
#0F5EB6
Tritanopia (blue-blind)
#894A70
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8e25b9;
/* rgb */ color: rgb(142, 37, 185);
/* oklch */ color: oklch(50.2% 0.220 313.4);
Tailwind
colors: {
  custom: {
    50: '#b46dcf',
    500: '#8e25b9',
    950: '#000000',
  },
}
SCSS
$custom: #8e25b9;
$custom-light: #b46dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#8e25b9",
  "rgb": {
    "r": 142,
    "g": 37,
    "b": 185
  },
  "hsl": {
    "h": 282.568,
    "s": 66.667,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50171,
    "c": 0.21954,
    "h": 313.4
  },
  "luminance": 0.10577
}

Semantic roles & 50–950 ramp

primary
#8E25B9
secondary
#8ACB6F
accent
#EA3E70
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #8E25B9

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

Preview Lab → · Contrast checker → · Palette generator →

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