#8B25AC#8B25AC

#8B25AC is a mid, highly saturated purple. Relative luminance 0.098; OKLCH L 48.8% C 0.207 H 316.1°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#8B25AC
RGBrgb(139, 37, 172)
HSLhsl(285, 65%, 41%)
HSVhsv(285, 78%, 67%)
CMYKcmyk(19.2%, 78.5%, 0%, 32.5%)
CIE-LABlab(37.47, 60.63, -50.97)
CIE-LCHlch(37.47, 79.21, 319.95°)
OKLaboklab(48.81% 0.1494 -0.1437)
OKLCHoklch(48.81% 0.207 316.1)
XYZxyz(18.7543, 9.7914, 39.9238)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B25AC #46AC25
analogous
#4725AC #8B25AC #AC2589
triadic
#8B25AC #AC8B25 #25AC8B
tetradic
#8B25AC #AC4725 #46AC25 #2589AC
square
#8B25AC #AC4725 #46AC25 #2589AC
split-complementary
#8B25AC #89AC25 #25AC47
monochromatic
#3A0F47 #621A7A #8B25AC #AF3AD5 #C36CDF

Accessibility & contrast

On white

7.10
#8B25AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#8B25AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B25AC
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B25AC#FFFFFF#000000##FFFFFF
##8B25AC1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B0
Deuteranopia (green-blind)
#235BA9
Tritanopia (blue-blind)
#894468
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8b25ac;
/* rgb */ color: rgb(139, 37, 172);
/* oklch */ color: oklch(48.8% 0.207 316.1);
Tailwind
colors: {
  custom: {
    50: '#b16cc5',
    500: '#8b25ac',
    950: '#000000',
  },
}
SCSS
$custom: #8b25ac;
$custom-light: #b16cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b25ac",
  "rgb": {
    "r": 139,
    "g": 37,
    "b": 172
  },
  "hsl": {
    "h": 285.333,
    "s": 64.593,
    "l": 40.98
  },
  "oklch": {
    "l": 0.48806,
    "c": 0.20728,
    "h": 316.1
  },
  "luminance": 0.09791
}

Semantic roles & 50–950 ramp

primary
#8B25AC
secondary
#7EC667
accent
#E84069
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8B25AC

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

Preview Lab → · Contrast checker → · Palette generator →

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