#8C25AE#8C25AE

#8C25AE is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.1% C 0.209 H 315.9°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#8C25AE
RGBrgb(140, 37, 174)
HSLhsl(285, 65%, 41%)
HSVhsv(285, 79%, 68%)
CMYKcmyk(19.5%, 78.7%, 0%, 31.8%)
CIE-LABlab(37.76, 61.21, -51.67)
CIE-LCHlch(37.76, 80.11, 319.83°)
OKLaboklab(49.09% 0.1503 -0.1458)
OKLCHoklch(49.09% 0.209 315.9)
XYZxyz(19.1156, 9.9553, 40.9508)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C25AE #47AE25
analogous
#4725AE #8C25AE #AE258C
triadic
#8C25AE #AE8C25 #25AE8C
tetradic
#8C25AE #AE4725 #47AE25 #258CAE
square
#8C25AE #AE4725 #47AE25 #258CAE
split-complementary
#8C25AE #8CAE25 #25AE47
monochromatic
#3B1049 #631A7C #8C25AE #AF3BD5 #C46DE0

Accessibility & contrast

On white

7.02
#8C25AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#8C25AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C25AE
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C25AE#FFFFFF#000000##FFFFFF
##8C25AE1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B2
Deuteranopia (green-blind)
#225CAB
Tritanopia (blue-blind)
#8A4569
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8c25ae;
/* rgb */ color: rgb(140, 37, 174);
/* oklch */ color: oklch(49.1% 0.209 315.9);
Tailwind
colors: {
  custom: {
    50: '#b26cc7',
    500: '#8c25ae',
    950: '#000000',
  },
}
SCSS
$custom: #8c25ae;
$custom-light: #b26cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#8c25ae",
  "rgb": {
    "r": 140,
    "g": 37,
    "b": 174
  },
  "hsl": {
    "h": 285.109,
    "s": 64.929,
    "l": 41.373
  },
  "oklch": {
    "l": 0.4909,
    "c": 0.20936,
    "h": 315.9
  },
  "luminance": 0.09955
}

Semantic roles & 50–950 ramp

primary
#8C25AE
secondary
#80C668
accent
#E8406A
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8C25AE

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

Preview Lab → · Contrast checker → · Palette generator →

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