#8D25B3#8D25B3

#8D25B3 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.6% C 0.214 H 314.7°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#8D25B3
RGBrgb(141, 37, 179)
HSLhsl(284, 66%, 42%)
HSVhsv(284, 79%, 70%)
CMYKcmyk(21.2%, 79.3%, 0%, 29.8%)
CIE-LABlab(38.27, 62.38, -53.81)
CIE-LCHlch(38.27, 82.38, 319.22°)
OKLaboklab(49.59% 0.1507 -0.152)
OKLCHoklch(49.59% 0.214 314.7)
XYZxyz(19.7814, 10.2413, 43.5738)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D25B3 #4BB325
analogous
#4625B3 #8D25B3 #B32592
triadic
#8D25B3 #B38D25 #25B38D
tetradic
#8D25B3 #B34625 #4BB325 #2592B3
square
#8D25B3 #B34625 #4BB325 #2592B3
split-complementary
#8D25B3 #92B325 #25B346
monochromatic
#3D104E #651B80 #8D25B3 #AE3ED7 #C371E2

Accessibility & contrast

On white

6.89
#8D25B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#8D25B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D25B3
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D25B3#FFFFFF#000000##FFFFFF
##8D25B31.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B7
Deuteranopia (green-blind)
#1B5DB0
Tritanopia (blue-blind)
#8A476C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8d25b3;
/* rgb */ color: rgb(141, 37, 179);
/* oklch */ color: oklch(49.6% 0.214 314.7);
Tailwind
colors: {
  custom: {
    50: '#b36dcb',
    500: '#8d25b3',
    950: '#000000',
  },
}
SCSS
$custom: #8d25b3;
$custom-light: #b36dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d25b3",
  "rgb": {
    "r": 141,
    "g": 37,
    "b": 179
  },
  "hsl": {
    "h": 283.944,
    "s": 65.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.49592,
    "c": 0.21403,
    "h": 314.7
  },
  "luminance": 0.10241
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D25B3

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

Preview Lab → · Contrast checker → · Palette generator →

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