#8E25BB#8E25BB

#8E25BB is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.3% C 0.221 H 312.8°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#8E25BB
RGBrgb(142, 37, 187)
HSLhsl(282, 67%, 44%)
HSVhsv(282, 80%, 73%)
CMYKcmyk(24.1%, 80.2%, 0%, 26.7%)
CIE-LABlab(39.01, 64.14, -57.34)
CIE-LCHlch(39.01, 86.04, 318.20°)
OKLaboklab(50.32% 0.1504 -0.1623)
OKLCHoklch(50.32% 0.221 312.8)
XYZxyz(20.7849, 10.6624, 47.9672)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E25BB #52BB25
analogous
#4325BB #8E25BB #BB259D
triadic
#8E25BB #BB8E25 #25BB8E
tetradic
#8E25BB #BB4325 #52BB25 #259DBB
square
#8E25BB #BB4325 #52BB25 #259DBB
split-complementary
#8E25BB #9DBB25 #25BB43
monochromatic
#401155 #671B88 #8E25BB #AD43DA #C376E4

Accessibility & contrast

On white

6.70
#8E25BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#8E25BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E25BB
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E25BB#FFFFFF#000000##FFFFFF
##8E25BB1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BF
Deuteranopia (green-blind)
#075EB8
Tritanopia (blue-blind)
#894A71
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8e25bb;
/* rgb */ color: rgb(142, 37, 187);
/* oklch */ color: oklch(50.3% 0.221 312.8);
Tailwind
colors: {
  custom: {
    50: '#b46dd0',
    500: '#8e25bb',
    950: '#000000',
  },
}
SCSS
$custom: #8e25bb;
$custom-light: #b46dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e25bb",
  "rgb": {
    "r": 142,
    "g": 37,
    "b": 187
  },
  "hsl": {
    "h": 282,
    "s": 66.964,
    "l": 43.922
  },
  "oklch": {
    "l": 0.5032,
    "c": 0.22128,
    "h": 312.8
  },
  "luminance": 0.10662
}

Semantic roles & 50–950 ramp

primary
#8E25BB
secondary
#8CCB70
accent
#EA3E72
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #8E25BB

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

Preview Lab → · Contrast checker → · Palette generator →

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