#8D25A2#8D25A2

#8D25A2 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.4% C 0.199 H 320.2°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#8D25A2
RGBrgb(141, 37, 162)
HSLhsl(290, 63%, 39%)
HSVhsv(290, 77%, 64%)
CMYKcmyk(13%, 77.2%, 0%, 36.5%)
CIE-LABlab(37.11, 59.11, -45.53)
CIE-LCHlch(37.11, 74.61, 322.39°)
OKLaboklab(48.4% 0.1532 -0.1277)
OKLCHoklch(48.4% 0.199 320.2)
XYZxyz(18.1669, 9.5954, 35.0706)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D25A2 #3AA225
analogous
#4F25A2 #8D25A2 #A22579
triadic
#8D25A2 #A28D25 #25A28D
tetradic
#8D25A2 #A24F25 #3AA225 #2579A2
square
#8D25A2 #A24F25 #3AA225 #2579A2
split-complementary
#8D25A2 #79A225 #25A24F
monochromatic
#360E3E #621A70 #8D25A2 #B634D1 #C865DC

Accessibility & contrast

On white

7.19
#8D25A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#8D25A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D25A2
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D25A2#FFFFFF#000000##FFFFFF
##8D25A21.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A5
Deuteranopia (green-blind)
#325B9F
Tritanopia (blue-blind)
#8D3F63
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8d25a2;
/* rgb */ color: rgb(141, 37, 162);
/* oklch */ color: oklch(48.4% 0.199 320.2);
Tailwind
colors: {
  custom: {
    50: '#b26cbe',
    500: '#8d25a2',
    950: '#000000',
  },
}
SCSS
$custom: #8d25a2;
$custom-light: #b26cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#8d25a2",
  "rgb": {
    "r": 141,
    "g": 37,
    "b": 162
  },
  "hsl": {
    "h": 289.92,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.484,
    "c": 0.19945,
    "h": 320.2
  },
  "luminance": 0.09594
}

Semantic roles & 50–950 ramp

primary
#8D25A2
secondary
#71C261
accent
#E6425D
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8D25A2

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

Preview Lab → · Contrast checker → · Palette generator →

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