#8A25A2#8A25A2

#8A25A2 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 48.0% C 0.198 H 319.0°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#8A25A2
RGBrgb(138, 37, 162)
HSLhsl(288, 63%, 39%)
HSVhsv(288, 77%, 64%)
CMYKcmyk(14.8%, 77.2%, 0%, 36.5%)
CIE-LABlab(36.62, 58.51, -46.34)
CIE-LCHlch(36.62, 74.63, 321.62°)
OKLaboklab(47.96% 0.1495 -0.1302)
OKLCHoklch(47.96% 0.198 319)
XYZxyz(17.6635, 9.3359, 35.0470)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A25A2 #3DA225
analogous
#4C25A2 #8A25A2 #A2257C
triadic
#8A25A2 #A28A25 #25A28A
tetradic
#8A25A2 #A24C25 #3DA225 #257CA2
square
#8A25A2 #A24C25 #3DA225 #257CA2
split-complementary
#8A25A2 #7CA225 #25A24C
monochromatic
#350E3E #601A70 #8A25A2 #B234D1 #C565DC

Accessibility & contrast

On white

7.32
#8A25A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A25A2
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A25A2#FFFFFF#000000##FFFFFF
##8A25A21.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a25a2;
/* rgb */ color: rgb(138, 37, 162);
/* oklch */ color: oklch(48.0% 0.198 319.0);
Tailwind
colors: {
  custom: {
    50: '#b06bbe',
    500: '#8a25a2',
    950: '#000000',
  },
}
SCSS
$custom: #8a25a2;
$custom-light: #b06bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#8a25a2",
  "rgb": {
    "r": 138,
    "g": 37,
    "b": 162
  },
  "hsl": {
    "h": 288.48,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47962,
    "c": 0.19827,
    "h": 319
  },
  "luminance": 0.09335
}

Semantic roles & 50–950 ramp

primary
#8A25A2
secondary
#74C261
accent
#E64261
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8A25A2

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

Preview Lab → · Contrast checker → · Palette generator →

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