#8B25A3#8B25A3

#8B25A3 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.2% C 0.200 H 319.0°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#8B25A3
RGBrgb(139, 37, 163)
HSLhsl(289, 63%, 39%)
HSVhsv(289, 77%, 64%)
CMYKcmyk(14.7%, 77.3%, 0%, 36.1%)
CIE-LABlab(36.85, 58.90, -46.56)
CIE-LCHlch(36.85, 75.08, 321.67°)
OKLaboklab(48.18% 0.1507 -0.1308)
OKLCHoklch(48.18% 0.2 319)
XYZxyz(17.9190, 9.4573, 35.5248)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B25A3 #3DA325
analogous
#4C25A3 #8B25A3 #A3257C
triadic
#8B25A3 #A38B25 #25A38B
tetradic
#8B25A3 #A34C25 #3DA325 #257CA3
square
#8B25A3 #A34C25 #3DA325 #257CA3
split-complementary
#8B25A3 #7CA325 #25A34C
monochromatic
#360E3F #601A71 #8B25A3 #B334D1 #C666DC

Accessibility & contrast

On white

7.26
#8B25A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#8B25A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B25A3
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B25A3#FFFFFF#000000##FFFFFF
##8B25A31.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A6
Deuteranopia (green-blind)
#2E5AA0
Tritanopia (blue-blind)
#8B4063
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8b25a3;
/* rgb */ color: rgb(139, 37, 163);
/* oklch */ color: oklch(48.2% 0.200 319.0);
Tailwind
colors: {
  custom: {
    50: '#b16cbf',
    500: '#8b25a3',
    950: '#000000',
  },
}
SCSS
$custom: #8b25a3;
$custom-light: #b16cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#8b25a3",
  "rgb": {
    "r": 139,
    "g": 37,
    "b": 163
  },
  "hsl": {
    "h": 288.571,
    "s": 63,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48176,
    "c": 0.19952,
    "h": 319
  },
  "luminance": 0.09456
}

Semantic roles & 50–950 ramp

primary
#8B25A3
secondary
#74C262
accent
#E64261
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8B25A3

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

Preview Lab → · Contrast checker → · Palette generator →

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