#8A25A8#8A25A8

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

Color values

HEX#8A25A8
RGBrgb(138, 37, 168)
HSLhsl(286, 64%, 40%)
HSVhsv(286, 78%, 66%)
CMYKcmyk(17.9%, 78%, 0%, 34.1%)
CIE-LABlab(37.03, 59.66, -49.28)
CIE-LCHlch(37.03, 77.39, 320.44°)
OKLaboklab(48.38% 0.1487 -0.1388)
OKLCHoklch(48.38% 0.203 317)
XYZxyz(18.2096, 9.5543, 37.9232)
Luminance0.0955 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A25A8 #43A825
analogous
#4925A8 #8A25A8 #A82584
triadic
#8A25A8 #A88A25 #25A88A
tetradic
#8A25A8 #A84925 #43A825 #2584A8
square
#8A25A8 #A84925 #43A825 #2584A8
split-complementary
#8A25A8 #84A825 #25A849
monochromatic
#380F44 #611A76 #8A25A8 #AF37D3 #C369DE

Accessibility & contrast

On white

7.21
#8A25A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#8A25A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A25A8
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A25A8#FFFFFF#000000##FFFFFF
##8A25A81.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AC
Deuteranopia (green-blind)
#275AA5
Tritanopia (blue-blind)
#884266
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a25a8;
/* rgb */ color: rgb(138, 37, 168);
/* oklch */ color: oklch(48.4% 0.203 317.0);
Tailwind
colors: {
  custom: {
    50: '#b06cc3',
    500: '#8a25a8',
    950: '#000000',
  },
}
SCSS
$custom: #8a25a8;
$custom-light: #b06cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a25a8",
  "rgb": {
    "r": 138,
    "g": 37,
    "b": 168
  },
  "hsl": {
    "h": 286.26,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48379,
    "c": 0.20345,
    "h": 317
  },
  "luminance": 0.09554
}

Semantic roles & 50–950 ramp

primary
#8A25A8
secondary
#7BC465
accent
#E74167
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110712
muted
#807A81

Preview Lab

Preview with #8A25A8

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

Preview Lab → · Contrast checker → · Palette generator →

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