#8B25B6#8B25B6

#8B25B6 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.5% C 0.216 H 313.1°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#8B25B6
RGBrgb(139, 37, 182)
HSLhsl(282, 66%, 43%)
HSVhsv(282, 80%, 71%)
CMYKcmyk(23.6%, 79.7%, 0%, 28.6%)
CIE-LABlab(38.18, 62.62, -55.75)
CIE-LCHlch(38.18, 83.84, 318.32°)
OKLaboklab(49.54% 0.1475 -0.1578)
OKLCHoklch(49.54% 0.216 313.1)
XYZxyz(19.7510, 10.1901, 45.1734)
Luminance0.1019 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B25B6 #50B625
analogous
#4325B6 #8B25B6 #B62598
triadic
#8B25B6 #B68B25 #25B68B
tetradic
#8B25B6 #B64325 #50B625 #2598B6
square
#8B25B6 #B64325 #50B625 #2598B6
split-complementary
#8B25B6 #98B625 #25B643
monochromatic
#3D1050 #641B83 #8B25B6 #AB40D8 #C173E3

Accessibility & contrast

On white

6.91
#8B25B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#8B25B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B25B6
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B25B6#FFFFFF#000000##FFFFFF
##8B25B61.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BA
Deuteranopia (green-blind)
#0D5CB3
Tritanopia (blue-blind)
#86496E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8b25b6;
/* rgb */ color: rgb(139, 37, 182);
/* oklch */ color: oklch(49.5% 0.216 313.1);
Tailwind
colors: {
  custom: {
    50: '#b26ccd',
    500: '#8b25b6',
    950: '#000000',
  },
}
SCSS
$custom: #8b25b6;
$custom-light: #b26ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#8b25b6",
  "rgb": {
    "r": 139,
    "g": 37,
    "b": 182
  },
  "hsl": {
    "h": 282.207,
    "s": 66.21,
    "l": 42.941
  },
  "oklch": {
    "l": 0.49535,
    "c": 0.21599,
    "h": 313.1
  },
  "luminance": 0.1019
}

Semantic roles & 50–950 ramp

primary
#8B25B6
secondary
#89CA6D
accent
#E93F71
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110813
muted
#807B82

Preview Lab

Preview with #8B25B6

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

Preview Lab → · Contrast checker → · Palette generator →

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