#8A25AB#8A25AB

#8A25AB is a mid, highly saturated purple. Relative luminance 0.097; OKLCH L 48.6% C 0.206 H 316.0°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#8A25AB
RGBrgb(138, 37, 171)
HSLhsl(285, 64%, 41%)
HSVhsv(285, 78%, 67%)
CMYKcmyk(19.3%, 78.4%, 0%, 32.9%)
CIE-LABlab(37.24, 60.25, -50.74)
CIE-LCHlch(37.24, 78.77, 319.89°)
OKLaboklab(48.59% 0.1483 -0.1431)
OKLCHoklch(48.59% 0.206 316)
XYZxyz(18.4923, 9.6674, 39.4121)
Luminance0.0967 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A25AB #46AB25
analogous
#4725AB #8A25AB #AB2589
triadic
#8A25AB #AB8A25 #25AB8A
tetradic
#8A25AB #AB4725 #46AB25 #2589AB
square
#8A25AB #AB4725 #46AB25 #2589AB
split-complementary
#8A25AB #89AB25 #25AB47
monochromatic
#390F46 #611A79 #8A25AB #AE39D4 #C36BDF

Accessibility & contrast

On white

7.16
#8A25AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#8A25AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A25AB
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A25AB#FFFFFF#000000##FFFFFF
##8A25AB1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AF
Deuteranopia (green-blind)
#235AA8
Tritanopia (blue-blind)
#884468
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a25ab;
/* rgb */ color: rgb(138, 37, 171);
/* oklch */ color: oklch(48.6% 0.206 316.0);
Tailwind
colors: {
  custom: {
    50: '#b06cc5',
    500: '#8a25ab',
    950: '#000000',
  },
}
SCSS
$custom: #8a25ab;
$custom-light: #b06cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a25ab",
  "rgb": {
    "r": 138,
    "g": 37,
    "b": 171
  },
  "hsl": {
    "h": 285.224,
    "s": 64.423,
    "l": 40.784
  },
  "oklch": {
    "l": 0.48592,
    "c": 0.20605,
    "h": 316
  },
  "luminance": 0.09667
}

Semantic roles & 50–950 ramp

primary
#8A25AB
secondary
#7EC567
accent
#E7406A
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8A25AB

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

Preview Lab → · Contrast checker → · Palette generator →

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