#8A25AE#8A25AE

#8A25AE is a mid, highly saturated purple. Relative luminance 0.098; OKLCH L 48.8% C 0.209 H 315.1°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#8A25AE
RGBrgb(138, 37, 174)
HSLhsl(284, 65%, 41%)
HSVhsv(284, 79%, 68%)
CMYKcmyk(20.7%, 78.7%, 0%, 31.8%)
CIE-LABlab(37.45, 60.84, -52.19)
CIE-LCHlch(37.45, 80.16, 319.38°)
OKLaboklab(48.81% 0.1478 -0.1474)
OKLCHoklch(48.81% 0.209 315.1)
XYZxyz(18.7815, 9.7831, 40.9352)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A25AE #49AE25
analogous
#4625AE #8A25AE #AE258E
triadic
#8A25AE #AE8A25 #25AE8A
tetradic
#8A25AE #AE4625 #49AE25 #258EAE
square
#8A25AE #AE4625 #49AE25 #258EAE
split-complementary
#8A25AE #8EAE25 #25AE46
monochromatic
#3A1049 #621A7C #8A25AE #AD3BD5 #C26DE0

Accessibility & contrast

On white

7.10
#8A25AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#8A25AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A25AE
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A25AE#FFFFFF#000000##FFFFFF
##8A25AE1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B2
Deuteranopia (green-blind)
#1E5BAB
Tritanopia (blue-blind)
#874569
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a25ae;
/* rgb */ color: rgb(138, 37, 174);
/* oklch */ color: oklch(48.8% 0.209 315.1);
Tailwind
colors: {
  custom: {
    50: '#b16cc7',
    500: '#8a25ae',
    950: '#000000',
  },
}
SCSS
$custom: #8a25ae;
$custom-light: #b16cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a25ae",
  "rgb": {
    "r": 138,
    "g": 37,
    "b": 174
  },
  "hsl": {
    "h": 284.234,
    "s": 64.929,
    "l": 41.373
  },
  "oklch": {
    "l": 0.48808,
    "c": 0.20867,
    "h": 315.1
  },
  "luminance": 0.09782
}

Semantic roles & 50–950 ramp

primary
#8A25AE
secondary
#81C668
accent
#E8406C
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8A25AE

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

Preview Lab → · Contrast checker → · Palette generator →

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