#8A25A3#8A25A3

#8A25A3 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.0% C 0.199 H 318.6°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#8A25A3
RGBrgb(138, 37, 163)
HSLhsl(288, 63%, 39%)
HSVhsv(288, 77%, 64%)
CMYKcmyk(15.3%, 77.3%, 0%, 36.1%)
CIE-LABlab(36.69, 58.70, -46.83)
CIE-LCHlch(36.69, 75.09, 321.42°)
OKLaboklab(48.03% 0.1494 -0.1316)
OKLCHoklch(48.03% 0.199 318.6)
XYZxyz(17.7528, 9.3716, 35.5170)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A25A3 #3EA325
analogous
#4B25A3 #8A25A3 #A3257D
triadic
#8A25A3 #A38A25 #25A38A
tetradic
#8A25A3 #A34B25 #3EA325 #257DA3
square
#8A25A3 #A34B25 #3EA325 #257DA3
split-complementary
#8A25A3 #7DA325 #25A34B
monochromatic
#360E3F #601A71 #8A25A3 #B234D1 #C566DC

Accessibility & contrast

On white

7.31
#8A25A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#8A25A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A25A3
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A25A3#FFFFFF#000000##FFFFFF
##8A25A31.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A6
Deuteranopia (green-blind)
#2D59A0
Tritanopia (blue-blind)
#8A4063
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8a25a3;
/* rgb */ color: rgb(138, 37, 163);
/* oklch */ color: oklch(48.0% 0.199 318.6);
Tailwind
colors: {
  custom: {
    50: '#b06bbf',
    500: '#8a25a3',
    950: '#000000',
  },
}
SCSS
$custom: #8a25a3;
$custom-light: #b06bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a25a3",
  "rgb": {
    "r": 138,
    "g": 37,
    "b": 163
  },
  "hsl": {
    "h": 288.095,
    "s": 63,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48031,
    "c": 0.19912,
    "h": 318.6
  },
  "luminance": 0.09371
}

Semantic roles & 50–950 ramp

primary
#8A25A3
secondary
#75C262
accent
#E64262
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8A25A3

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

Preview Lab → · Contrast checker → · Palette generator →

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