#8B25A6#8B25A6

#8B25A6 is a mid, highly saturated purple. Relative luminance 0.096; OKLCH L 48.4% C 0.202 H 318.0°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#8B25A6
RGBrgb(139, 37, 166)
HSLhsl(287, 64%, 40%)
HSVhsv(287, 78%, 65%)
CMYKcmyk(16.3%, 77.7%, 0%, 34.9%)
CIE-LABlab(37.05, 59.47, -48.04)
CIE-LCHlch(37.05, 76.45, 321.07°)
OKLaboklab(48.38% 0.1503 -0.1351)
OKLCHoklch(48.38% 0.202 318)
XYZxyz(18.1910, 9.5661, 36.9572)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B25A6 #40A625
analogous
#4B25A6 #8B25A6 #A62581
triadic
#8B25A6 #A68B25 #25A68B
tetradic
#8B25A6 #A64B25 #40A625 #2581A6
square
#8B25A6 #A64B25 #40A625 #2581A6
split-complementary
#8B25A6 #81A625 #25A64B
monochromatic
#370F42 #611A74 #8B25A6 #B236D2 #C568DD

Accessibility & contrast

On white

7.21
#8B25A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#8B25A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B25A6
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B25A6#FFFFFF#000000##FFFFFF
##8B25A61.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A9
Deuteranopia (green-blind)
#2B5AA3
Tritanopia (blue-blind)
#8A4165
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8b25a6;
/* rgb */ color: rgb(139, 37, 166);
/* oklch */ color: oklch(48.4% 0.202 318.0);
Tailwind
colors: {
  custom: {
    50: '#b16cc1',
    500: '#8b25a6',
    950: '#000000',
  },
}
SCSS
$custom: #8b25a6;
$custom-light: #b16cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b25a6",
  "rgb": {
    "r": 139,
    "g": 37,
    "b": 166
  },
  "hsl": {
    "h": 287.442,
    "s": 63.547,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48383,
    "c": 0.2021,
    "h": 318
  },
  "luminance": 0.09565
}

Semantic roles & 50–950 ramp

primary
#8B25A6
secondary
#78C364
accent
#E74164
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110712
muted
#807A81

Preview Lab

Preview with #8B25A6

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

Preview Lab → · Contrast checker → · Palette generator →

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