#8B25A7#8B25A7

#8B25A7 is a mid, highly saturated purple. Relative luminance 0.096; OKLCH L 48.5% C 0.203 H 317.7°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#8B25A7
RGBrgb(139, 37, 167)
HSLhsl(287, 64%, 40%)
HSVhsv(287, 78%, 65%)
CMYKcmyk(16.8%, 77.8%, 0%, 34.5%)
CIE-LABlab(37.12, 59.66, -48.53)
CIE-LCHlch(37.12, 76.91, 320.87°)
OKLaboklab(48.45% 0.1501 -0.1366)
OKLCHoklch(48.45% 0.203 317.7)
XYZxyz(18.2831, 9.6030, 37.4422)
Luminance0.0960 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B25A7 #41A725
analogous
#4A25A7 #8B25A7 #A72582
triadic
#8B25A7 #A78B25 #25A78B
tetradic
#8B25A7 #A74A25 #41A725 #2582A7
square
#8B25A7 #A74A25 #41A725 #2582A7
split-complementary
#8B25A7 #82A725 #25A74A
monochromatic
#380F43 #611A75 #8B25A7 #B137D3 #C469DE

Accessibility & contrast

On white

7.19
#8B25A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#8B25A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B25A7
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B25A7#FFFFFF#000000##FFFFFF
##8B25A71.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AB
Deuteranopia (green-blind)
#2A5AA4
Tritanopia (blue-blind)
#8A4265
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8b25a7;
/* rgb */ color: rgb(139, 37, 167);
/* oklch */ color: oklch(48.5% 0.203 317.7);
Tailwind
colors: {
  custom: {
    50: '#b16cc2',
    500: '#8b25a7',
    950: '#000000',
  },
}
SCSS
$custom: #8b25a7;
$custom-light: #b16cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b25a7",
  "rgb": {
    "r": 139,
    "g": 37,
    "b": 167
  },
  "hsl": {
    "h": 287.077,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.48452,
    "c": 0.20295,
    "h": 317.7
  },
  "luminance": 0.09602
}

Semantic roles & 50–950 ramp

primary
#8B25A7
secondary
#79C464
accent
#E74165
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110712
muted
#807A81

Preview Lab

Preview with #8B25A7

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

Preview Lab → · Contrast checker → · Palette generator →

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