#8B25A2#8B25A2

#8B25A2 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.1% C 0.199 H 319.4°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#8B25A2
RGBrgb(139, 37, 162)
HSLhsl(289, 63%, 39%)
HSVhsv(289, 77%, 64%)
CMYKcmyk(14.2%, 77.2%, 0%, 36.5%)
CIE-LABlab(36.78, 58.71, -46.07)
CIE-LCHlch(36.78, 74.63, 321.88°)
OKLaboklab(48.11% 0.1508 -0.1294)
OKLCHoklch(48.11% 0.199 319.4)
XYZxyz(17.8298, 9.4216, 35.0548)
Luminance0.0942 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B25A2 #3CA225
analogous
#4D25A2 #8B25A2 #A2257B
triadic
#8B25A2 #A28B25 #25A28B
tetradic
#8B25A2 #A24D25 #3CA225 #257BA2
square
#8B25A2 #A24D25 #3CA225 #257BA2
split-complementary
#8B25A2 #7BA225 #25A24D
monochromatic
#360E3E #601A70 #8B25A2 #B434D1 #C665DC

Accessibility & contrast

On white

7.28
#8B25A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#8B25A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B25A2
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B25A2#FFFFFF#000000##FFFFFF
##8B25A21.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A5
Deuteranopia (green-blind)
#2F5A9F
Tritanopia (blue-blind)
#8B3F63
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8b25a2;
/* rgb */ color: rgb(139, 37, 162);
/* oklch */ color: oklch(48.1% 0.199 319.4);
Tailwind
colors: {
  custom: {
    50: '#b16bbe',
    500: '#8b25a2',
    950: '#000000',
  },
}
SCSS
$custom: #8b25a2;
$custom-light: #b16bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#8b25a2",
  "rgb": {
    "r": 139,
    "g": 37,
    "b": 162
  },
  "hsl": {
    "h": 288.96,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48108,
    "c": 0.19866,
    "h": 319.4
  },
  "luminance": 0.09421
}

Semantic roles & 50–950 ramp

primary
#8B25A2
secondary
#73C261
accent
#E64260
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8B25A2

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

Preview Lab → · Contrast checker → · Palette generator →

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