#8D25B1#8D25B1

#8D25B1 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.4% C 0.212 H 315.3°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#8D25B1
RGBrgb(141, 37, 177)
HSLhsl(285, 65%, 42%)
HSVhsv(285, 79%, 69%)
CMYKcmyk(20.3%, 79.1%, 0%, 30.6%)
CIE-LABlab(38.13, 61.98, -52.86)
CIE-LCHlch(38.13, 81.46, 319.54°)
OKLaboklab(49.45% 0.151 -0.1492)
OKLCHoklch(49.45% 0.212 315.3)
XYZxyz(19.5806, 10.1609, 42.5163)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D25B1 #49B125
analogous
#4725B1 #8D25B1 #B1258F
triadic
#8D25B1 #B18D25 #25B18D
tetradic
#8D25B1 #B14725 #49B125 #258FB1
square
#8D25B1 #B14725 #49B125 #258FB1
split-complementary
#8D25B1 #8FB125 #25B147
monochromatic
#3C104C #651A7E #8D25B1 #AF3DD6 #C46FE1

Accessibility & contrast

On white

6.93
#8D25B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#8D25B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D25B1
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D25B1#FFFFFF#000000##FFFFFF
##8D25B11.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B5
Deuteranopia (green-blind)
#1F5CAE
Tritanopia (blue-blind)
#8A466B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8d25b1;
/* rgb */ color: rgb(141, 37, 177);
/* oklch */ color: oklch(49.4% 0.212 315.3);
Tailwind
colors: {
  custom: {
    50: '#b36cc9',
    500: '#8d25b1',
    950: '#000000',
  },
}
SCSS
$custom: #8d25b1;
$custom-light: #b36cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d25b1",
  "rgb": {
    "r": 141,
    "g": 37,
    "b": 177
  },
  "hsl": {
    "h": 284.571,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49447,
    "c": 0.2123,
    "h": 315.3
  },
  "luminance": 0.1016
}

Semantic roles & 50–950 ramp

primary
#8D25B1
secondary
#82C86A
accent
#E83F6B
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120813
muted
#817A82

Preview Lab

Preview with #8D25B1

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

Preview Lab → · Contrast checker → · Palette generator →

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