#8A25A9#8A25A9

#8A25A9 is a mid, highly saturated purple. Relative luminance 0.096; OKLCH L 48.4% C 0.204 H 316.7°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#8A25A9
RGBrgb(138, 37, 169)
HSLhsl(286, 64%, 40%)
HSVhsv(286, 78%, 66%)
CMYKcmyk(18.3%, 78.1%, 0%, 33.7%)
CIE-LABlab(37.10, 59.86, -49.77)
CIE-LCHlch(37.10, 77.85, 320.26°)
OKLaboklab(48.45% 0.1486 -0.1403)
OKLCHoklch(48.45% 0.204 316.7)
XYZxyz(18.3031, 9.5918, 38.4157)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A25A9 #44A925
analogous
#4825A9 #8A25A9 #A92586
triadic
#8A25A9 #A98A25 #25A98A
tetradic
#8A25A9 #A94825 #44A925 #2586A9
square
#8A25A9 #A94825 #44A925 #2586A9
split-complementary
#8A25A9 #86A925 #25A948
monochromatic
#380F45 #611A77 #8A25A9 #AF38D3 #C36ADE

Accessibility & contrast

On white

7.20
#8A25A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#8A25A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A25A9
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A25A9#FFFFFF#000000##FFFFFF
##8A25A91.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AD
Deuteranopia (green-blind)
#255AA6
Tritanopia (blue-blind)
#884367
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a25a9;
/* rgb */ color: rgb(138, 37, 169);
/* oklch */ color: oklch(48.4% 0.204 316.7);
Tailwind
colors: {
  custom: {
    50: '#b06cc3',
    500: '#8a25a9',
    950: '#000000',
  },
}
SCSS
$custom: #8a25a9;
$custom-light: #b06cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a25a9",
  "rgb": {
    "r": 138,
    "g": 37,
    "b": 169
  },
  "hsl": {
    "h": 285.909,
    "s": 64.078,
    "l": 40.392
  },
  "oklch": {
    "l": 0.4845,
    "c": 0.20432,
    "h": 316.7
  },
  "luminance": 0.09591
}

Semantic roles & 50–950 ramp

primary
#8A25A9
secondary
#7CC465
accent
#E74168
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8A25A9

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

Preview Lab → · Contrast checker → · Palette generator →

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