#8A25A0#8A25A0

#8A25A0 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.8% C 0.197 H 319.6°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#8A25A0
RGBrgb(138, 37, 160)
HSLhsl(289, 62%, 39%)
HSVhsv(289, 77%, 63%)
CMYKcmyk(13.8%, 76.9%, 0%, 37.3%)
CIE-LABlab(36.49, 58.13, -45.34)
CIE-LCHlch(36.49, 73.72, 322.04°)
OKLaboklab(47.83% 0.1498 -0.1273)
OKLCHoklch(47.83% 0.197 319.6)
XYZxyz(17.4872, 9.2654, 34.1182)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A25A0 #3BA025
analogous
#4C25A0 #8A25A0 #A02578
triadic
#8A25A0 #A08A25 #25A08A
tetradic
#8A25A0 #A04C25 #3BA025 #2578A0
square
#8A25A0 #A04C25 #3BA025 #2578A0
split-complementary
#8A25A0 #78A025 #25A04C
monochromatic
#340E3D #5F1A6E #8A25A0 #B432D0 #C664DB

Accessibility & contrast

On white

7.36
#8A25A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#8A25A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A25A0
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A25A0#FFFFFF#000000##FFFFFF
##8A25A01.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA3
Deuteranopia (green-blind)
#30599D
Tritanopia (blue-blind)
#8A3F61
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8a25a0;
/* rgb */ color: rgb(138, 37, 160);
/* oklch */ color: oklch(47.8% 0.197 319.6);
Tailwind
colors: {
  custom: {
    50: '#b06bbd',
    500: '#8a25a0',
    950: '#000000',
  },
}
SCSS
$custom: #8a25a0;
$custom-light: #b06bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a25a0",
  "rgb": {
    "r": 138,
    "g": 37,
    "b": 160
  },
  "hsl": {
    "h": 289.268,
    "s": 62.437,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47826,
    "c": 0.19654,
    "h": 319.6
  },
  "luminance": 0.09264
}

Semantic roles & 50–950 ramp

primary
#8A25A0
secondary
#71C160
accent
#E6425F
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8A25A0

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

Preview Lab → · Contrast checker → · Palette generator →

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