#8B25B9#8B25B9

#8B25B9 is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.8% C 0.219 H 312.2°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#8B25B9
RGBrgb(139, 37, 185)
HSLhsl(281, 67%, 44%)
HSVhsv(281, 80%, 73%)
CMYKcmyk(24.9%, 80%, 0%, 27.5%)
CIE-LABlab(38.40, 63.22, -57.16)
CIE-LCHlch(38.40, 85.23, 317.88°)
OKLaboklab(49.76% 0.1469 -0.1619)
OKLCHoklch(49.76% 0.219 312.2)
XYZxyz(20.0644, 10.3155, 46.8237)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B25B9 #53B925
analogous
#4125B9 #8B25B9 #B9259D
triadic
#8B25B9 #B98B25 #25B98B
tetradic
#8B25B9 #B94125 #53B925 #259DB9
square
#8B25B9 #B94125 #53B925 #259DB9
split-complementary
#8B25B9 #9DB925 #25B941
monochromatic
#3E1153 #651B86 #8B25B9 #AA42D9 #C175E3

Accessibility & contrast

On white

6.86
#8B25B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#8B25B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B25B9
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B25B9#FFFFFF#000000##FFFFFF
##8B25B91.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BD
Deuteranopia (green-blind)
#015CB6
Tritanopia (blue-blind)
#854A70
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8b25b9;
/* rgb */ color: rgb(139, 37, 185);
/* oklch */ color: oklch(49.8% 0.219 312.2);
Tailwind
colors: {
  custom: {
    50: '#b26dcf',
    500: '#8b25b9',
    950: '#000000',
  },
}
SCSS
$custom: #8b25b9;
$custom-light: #b26dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#8b25b9",
  "rgb": {
    "r": 139,
    "g": 37,
    "b": 185
  },
  "hsl": {
    "h": 281.351,
    "s": 66.667,
    "l": 43.529
  },
  "oklch": {
    "l": 0.49759,
    "c": 0.21862,
    "h": 312.2
  },
  "luminance": 0.10315
}

Semantic roles & 50–950 ramp

primary
#8B25B9
secondary
#8CCB6F
accent
#EA3E73
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8B25B9

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

Preview Lab → · Contrast checker → · Palette generator →

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