#8A25AD#8A25AD

#8A25AD is a mid, highly saturated purple. Relative luminance 0.097; OKLCH L 48.7% C 0.208 H 315.4°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#8A25AD
RGBrgb(138, 37, 173)
HSLhsl(285, 65%, 41%)
HSVhsv(285, 79%, 68%)
CMYKcmyk(20.2%, 78.6%, 0%, 32.2%)
CIE-LABlab(37.38, 60.64, -51.71)
CIE-LCHlch(37.38, 79.70, 319.55°)
OKLaboklab(48.74% 0.1479 -0.1459)
OKLCHoklch(48.74% 0.208 315.4)
XYZxyz(18.6844, 9.7443, 40.4237)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A25AD #48AD25
analogous
#4625AD #8A25AD #AD258C
triadic
#8A25AD #AD8A25 #25AD8A
tetradic
#8A25AD #AD4625 #48AD25 #258CAD
square
#8A25AD #AD4625 #48AD25 #258CAD
split-complementary
#8A25AD #8CAD25 #25AD46
monochromatic
#3A0F48 #621A7B #8A25AD #AD3AD5 #C26DE0

Accessibility & contrast

On white

7.12
#8A25AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#8A25AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A25AD
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A25AD#FFFFFF#000000##FFFFFF
##8A25AD1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B1
Deuteranopia (green-blind)
#1F5BAA
Tritanopia (blue-blind)
#874569
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a25ad;
/* rgb */ color: rgb(138, 37, 173);
/* oklch */ color: oklch(48.7% 0.208 315.4);
Tailwind
colors: {
  custom: {
    50: '#b16cc6',
    500: '#8a25ad',
    950: '#000000',
  },
}
SCSS
$custom: #8a25ad;
$custom-light: #b16cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a25ad",
  "rgb": {
    "r": 138,
    "g": 37,
    "b": 173
  },
  "hsl": {
    "h": 284.559,
    "s": 64.762,
    "l": 41.176
  },
  "oklch": {
    "l": 0.48736,
    "c": 0.2078,
    "h": 315.4
  },
  "luminance": 0.09744
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A25AD

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

Preview Lab → · Contrast checker → · Palette generator →

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