#8E25C6#8E25C6

#8E25C6 is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 51.2% C 0.231 H 309.8°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#8E25C6
RGBrgb(142, 37, 198)
HSLhsl(279, 69%, 46%)
HSVhsv(279, 81%, 78%)
CMYKcmyk(28.3%, 81.3%, 0%, 22.4%)
CIE-LABlab(39.83, 66.37, -62.44)
CIE-LCHlch(39.83, 91.12, 316.75°)
OKLaboklab(51.16% 0.1478 -0.1773)
OKLCHoklch(51.16% 0.231 309.8)
XYZxyz(22.0079, 11.1516, 54.4083)
Luminance0.1115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E25C6 #5DC625
analogous
#3D25C6 #8E25C6 #C625AD
triadic
#8E25C6 #C68E25 #25C68E
tetradic
#8E25C6 #C63D25 #5DC625 #25ADC6
square
#8E25C6 #C63D25 #5DC625 #25ADC6
split-complementary
#8E25C6 #ADC625 #25C63D
monochromatic
#44125F #691B92 #8E25C6 #AA4BDD #C37EE7

Accessibility & contrast

On white

6.50
#8E25C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#8E25C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E25C6
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E25C6#FFFFFF#000000##FFFFFF
##8E25C61.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACA
Deuteranopia (green-blind)
#005FC3
Tritanopia (blue-blind)
#865077
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8e25c6;
/* rgb */ color: rgb(142, 37, 198);
/* oklch */ color: oklch(51.2% 0.231 309.8);
Tailwind
colors: {
  custom: {
    50: '#b56ed8',
    500: '#8e25c6',
    950: '#000000',
  },
}
SCSS
$custom: #8e25c6;
$custom-light: #b56ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e25c6",
  "rgb": {
    "r": 142,
    "g": 37,
    "b": 198
  },
  "hsl": {
    "h": 279.13,
    "s": 68.511,
    "l": 46.078
  },
  "oklch": {
    "l": 0.51159,
    "c": 0.23086,
    "h": 309.8
  },
  "luminance": 0.11151
}

Semantic roles & 50–950 ramp

primary
#8E25C6
secondary
#96CF77
accent
#EB3C79
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120815
muted
#817B83

Preview Lab

Preview with #8E25C6

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

Preview Lab → · Contrast checker → · Palette generator →

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