#8D259D#8D259D

#8D259D is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.1% C 0.195 H 321.9°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#8D259D
RGBrgb(141, 37, 157)
HSLhsl(292, 62%, 38%)
HSVhsv(292, 76%, 62%)
CMYKcmyk(10.2%, 76.4%, 0%, 38.4%)
CIE-LABlab(36.78, 58.18, -43.03)
CIE-LCHlch(36.78, 72.37, 323.51°)
OKLaboklab(48.07% 0.1537 -0.1204)
OKLCHoklch(48.07% 0.195 321.9)
XYZxyz(17.7312, 9.4212, 32.7763)
Luminance0.0942 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D259D #359D25
analogous
#51259D #8D259D #9D2571
triadic
#8D259D #9D8D25 #259D8D
tetradic
#8D259D #9D5125 #359D25 #25719D
square
#8D259D #9D5125 #359D25 #25719D
split-complementary
#8D259D #719D25 #259D51
monochromatic
#340E3A #61196B #8D259D #B931CE #CA62DA

Accessibility & contrast

On white

7.28
#8D259D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#8D259D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D259D
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D259D#FFFFFF#000000##FFFFFF
##8D259D1.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA0
Deuteranopia (green-blind)
#365A9A
Tritanopia (blue-blind)
#8F3D60
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8d259d;
/* rgb */ color: rgb(141, 37, 157);
/* oklch */ color: oklch(48.1% 0.195 321.9);
Tailwind
colors: {
  custom: {
    50: '#b26cba',
    500: '#8d259d',
    950: '#000000',
  },
}
SCSS
$custom: #8d259d;
$custom-light: #b26cba;
$custom-dark: #000000;
JSON
{
  "hex": "#8d259d",
  "rgb": {
    "r": 141,
    "g": 37,
    "b": 157
  },
  "hsl": {
    "h": 292,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48067,
    "c": 0.19523,
    "h": 321.9
  },
  "luminance": 0.0942
}

Semantic roles & 50–950 ramp

primary
#8D259D
secondary
#6BBF5E
accent
#E54358
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8D259D

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

Preview Lab → · Contrast checker → · Palette generator →

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