#8B25AA#8B25AA

#8B25AA is a mid, highly saturated purple. Relative luminance 0.097; OKLCH L 48.7% C 0.206 H 316.7°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#8B25AA
RGBrgb(139, 37, 170)
HSLhsl(286, 64%, 41%)
HSVhsv(286, 78%, 67%)
CMYKcmyk(18.2%, 78.2%, 0%, 33.3%)
CIE-LABlab(37.33, 60.24, -50.00)
CIE-LCHlch(37.33, 78.29, 320.31°)
OKLaboklab(48.66% 0.1497 -0.1409)
OKLCHoklch(48.66% 0.206 316.7)
XYZxyz(18.5636, 9.7152, 38.9198)
Luminance0.0971 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B25AA #44AA25
analogous
#4825AA #8B25AA #AA2586
triadic
#8B25AA #AA8B25 #25AA8B
tetradic
#8B25AA #AA4825 #44AA25 #2586AA
square
#8B25AA #AA4825 #44AA25 #2586AA
split-complementary
#8B25AA #86AA25 #25AA48
monochromatic
#390F45 #621A78 #8B25AA #B038D4 #C46BDF

Accessibility & contrast

On white

7.14
#8B25AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#8B25AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B25AA
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B25AA#FFFFFF#000000##FFFFFF
##8B25AA1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AE
Deuteranopia (green-blind)
#265BA7
Tritanopia (blue-blind)
#894367
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8b25aa;
/* rgb */ color: rgb(139, 37, 170);
/* oklch */ color: oklch(48.7% 0.206 316.7);
Tailwind
colors: {
  custom: {
    50: '#b16cc4',
    500: '#8b25aa',
    950: '#000000',
  },
}
SCSS
$custom: #8b25aa;
$custom-light: #b16cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#8b25aa",
  "rgb": {
    "r": 139,
    "g": 37,
    "b": 170
  },
  "hsl": {
    "h": 286.015,
    "s": 64.251,
    "l": 40.588
  },
  "oklch": {
    "l": 0.48663,
    "c": 0.20554,
    "h": 316.7
  },
  "luminance": 0.09714
}

Semantic roles & 50–950 ramp

primary
#8B25AA
secondary
#7CC566
accent
#E74167
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8B25AA

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

Preview Lab → · Contrast checker → · Palette generator →

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