#8D25B6#8D25B6

#8D25B6 is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.8% C 0.217 H 313.9°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#8D25B6
RGBrgb(141, 37, 182)
HSLhsl(283, 66%, 43%)
HSVhsv(283, 80%, 71%)
CMYKcmyk(22.5%, 79.7%, 0%, 28.6%)
CIE-LABlab(38.49, 62.97, -55.24)
CIE-LCHlch(38.49, 83.77, 318.74°)
OKLaboklab(49.81% 0.1501 -0.1562)
OKLCHoklch(49.81% 0.217 313.9)
XYZxyz(20.0881, 10.3639, 45.1892)
Luminance0.1036 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D25B6 #4EB625
analogous
#4425B6 #8D25B6 #B62597
triadic
#8D25B6 #B68D25 #25B68D
tetradic
#8D25B6 #B64425 #4EB625 #2597B6
square
#8D25B6 #B64425 #4EB625 #2597B6
split-complementary
#8D25B6 #97B625 #25B644
monochromatic
#3E1050 #661B83 #8D25B6 #AD40D8 #C373E3

Accessibility & contrast

On white

6.83
#8D25B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#8D25B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D25B6
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D25B6#FFFFFF#000000##FFFFFF
##8D25B61.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BA
Deuteranopia (green-blind)
#145DB3
Tritanopia (blue-blind)
#89486E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8d25b6;
/* rgb */ color: rgb(141, 37, 182);
/* oklch */ color: oklch(49.8% 0.217 313.9);
Tailwind
colors: {
  custom: {
    50: '#b36dcd',
    500: '#8d25b6',
    950: '#000000',
  },
}
SCSS
$custom: #8d25b6;
$custom-light: #b36dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d25b6",
  "rgb": {
    "r": 141,
    "g": 37,
    "b": 182
  },
  "hsl": {
    "h": 283.034,
    "s": 66.21,
    "l": 42.941
  },
  "oklch": {
    "l": 0.49811,
    "c": 0.21662,
    "h": 313.9
  },
  "luminance": 0.10363
}

Semantic roles & 50–950 ramp

primary
#8D25B6
secondary
#87CA6D
accent
#E93F6F
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#120813
muted
#817A82

Preview Lab

Preview with #8D25B6

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

Preview Lab → · Contrast checker → · Palette generator →

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