#8B25A4#8B25A4

#8B25A4 is a mid, highly saturated purple. Relative luminance 0.095; OKLCH L 48.2% C 0.200 H 318.7°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#8B25A4
RGBrgb(139, 37, 164)
HSLhsl(288, 63%, 39%)
HSVhsv(288, 77%, 64%)
CMYKcmyk(15.2%, 77.4%, 0%, 35.7%)
CIE-LABlab(36.92, 59.09, -47.06)
CIE-LCHlch(36.92, 75.54, 321.47°)
OKLaboklab(48.25% 0.1505 -0.1323)
OKLCHoklch(48.25% 0.2 318.7)
XYZxyz(18.0090, 9.4933, 35.9985)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B25A4 #3EA425
analogous
#4C25A4 #8B25A4 #A4257E
triadic
#8B25A4 #A48B25 #25A48B
tetradic
#8B25A4 #A44C25 #3EA425 #257EA4
square
#8B25A4 #A44C25 #3EA425 #257EA4
split-complementary
#8B25A4 #7EA425 #25A44C
monochromatic
#360E40 #611A72 #8B25A4 #B335D1 #C567DD

Accessibility & contrast

On white

7.25
#8B25A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#8B25A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B25A4
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B25A4#FFFFFF#000000##FFFFFF
##8B25A41.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A7
Deuteranopia (green-blind)
#2D5AA1
Tritanopia (blue-blind)
#8B4064
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8b25a4;
/* rgb */ color: rgb(139, 37, 164);
/* oklch */ color: oklch(48.2% 0.200 318.7);
Tailwind
colors: {
  custom: {
    50: '#b16cc0',
    500: '#8b25a4',
    950: '#000000',
  },
}
SCSS
$custom: #8b25a4;
$custom-light: #b16cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b25a4",
  "rgb": {
    "r": 139,
    "g": 37,
    "b": 164
  },
  "hsl": {
    "h": 288.189,
    "s": 63.184,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48245,
    "c": 0.20037,
    "h": 318.7
  },
  "luminance": 0.09492
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8B25A4

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

Preview Lab → · Contrast checker → · Palette generator →

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