#8D25B2#8D25B2

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

Color values

HEX#8D25B2
RGBrgb(141, 37, 178)
HSLhsl(284, 66%, 42%)
HSVhsv(284, 79%, 70%)
CMYKcmyk(20.8%, 79.2%, 0%, 30.2%)
CIE-LABlab(38.20, 62.18, -53.33)
CIE-LCHlch(38.20, 81.92, 319.38°)
OKLaboklab(49.52% 0.1508 -0.1506)
OKLCHoklch(49.52% 0.213 315)
XYZxyz(19.6806, 10.2009, 43.0431)
Luminance0.1020 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D25B2 #4AB225
analogous
#4625B2 #8D25B2 #B22591
triadic
#8D25B2 #B28D25 #25B28D
tetradic
#8D25B2 #B24625 #4AB225 #2591B2
square
#8D25B2 #B24625 #4AB225 #2591B2
split-complementary
#8D25B2 #91B225 #25B246
monochromatic
#3D104D #651A7F #8D25B2 #AF3DD7 #C470E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D25B2#FFFFFF#000000##FFFFFF
##8D25B21.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)
#0054B6
Deuteranopia (green-blind)
#1D5CAF
Tritanopia (blue-blind)
#8A466C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8d25b2;
/* rgb */ color: rgb(141, 37, 178);
/* oklch */ color: oklch(49.5% 0.213 315.0);
Tailwind
colors: {
  custom: {
    50: '#b36dca',
    500: '#8d25b2',
    950: '#000000',
  },
}
SCSS
$custom: #8d25b2;
$custom-light: #b36dca;
$custom-dark: #000000;
JSON
{
  "hex": "#8d25b2",
  "rgb": {
    "r": 141,
    "g": 37,
    "b": 178
  },
  "hsl": {
    "h": 284.255,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49519,
    "c": 0.21316,
    "h": 315
  },
  "luminance": 0.102
}

Semantic roles & 50–950 ramp

primary
#8D25B2
secondary
#83C86B
accent
#E93F6C
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120813
muted
#817A82

Preview Lab

Preview with #8D25B2

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

Preview Lab → · Contrast checker → · Palette generator →

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