#8E25BA#8E25BA

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

Color values

HEX#8E25BA
RGBrgb(142, 37, 186)
HSLhsl(282, 67%, 44%)
HSVhsv(282, 80%, 73%)
CMYKcmyk(23.7%, 80.1%, 0%, 27.1%)
CIE-LABlab(38.93, 63.94, -56.87)
CIE-LCHlch(38.93, 85.57, 318.35°)
OKLaboklab(50.25% 0.1506 -0.161)
OKLCHoklch(50.25% 0.22 313.1)
XYZxyz(20.6782, 10.6197, 47.4054)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E25BA #51BA25
analogous
#4325BA #8E25BA #BA259B
triadic
#8E25BA #BA8E25 #25BA8E
tetradic
#8E25BA #BA4325 #51BA25 #259BBA
square
#8E25BA #BA4325 #51BA25 #259BBA
split-complementary
#8E25BA #9BBA25 #25BA43
monochromatic
#401154 #671B87 #8E25BA #AD43DA #C376E4

Accessibility & contrast

On white

6.72
#8E25BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8E25BA
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E25BA#FFFFFF#000000##FFFFFF
##8E25BA1.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BE
Deuteranopia (green-blind)
#0B5EB7
Tritanopia (blue-blind)
#894A70
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8e25ba;
/* rgb */ color: rgb(142, 37, 186);
/* oklch */ color: oklch(50.2% 0.220 313.1);
Tailwind
colors: {
  custom: {
    50: '#b46dd0',
    500: '#8e25ba',
    950: '#000000',
  },
}
SCSS
$custom: #8e25ba;
$custom-light: #b46dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e25ba",
  "rgb": {
    "r": 142,
    "g": 37,
    "b": 186
  },
  "hsl": {
    "h": 282.282,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50246,
    "c": 0.22041,
    "h": 313.1
  },
  "luminance": 0.10619
}

Semantic roles & 50–950 ramp

primary
#8E25BA
secondary
#8BCB70
accent
#EA3E71
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #8E25BA

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

Preview Lab → · Contrast checker → · Palette generator →

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