#8D259E#8D259E

#8D259E is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.1% C 0.196 H 321.6°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#8D259E
RGBrgb(141, 37, 158)
HSLhsl(292, 62%, 38%)
HSVhsv(292, 77%, 62%)
CMYKcmyk(10.8%, 76.6%, 0%, 38%)
CIE-LABlab(36.85, 58.37, -43.54)
CIE-LCHlch(36.85, 72.81, 323.28°)
OKLaboklab(48.13% 0.1536 -0.1219)
OKLCHoklch(48.13% 0.196 321.6)
XYZxyz(17.8169, 9.4555, 33.2277)
Luminance0.0945 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D259E #369E25
analogous
#50259E #8D259E #9E2572
triadic
#8D259E #9E8D25 #259E8D
tetradic
#8D259E #9E5025 #369E25 #25729E
square
#8D259E #9E5025 #369E25 #25729E
split-complementary
#8D259E #729E25 #259E50
monochromatic
#340E3B #61196C #8D259E #B931CF #CA63DA

Accessibility & contrast

On white

7.26
#8D259E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#8D259E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D259E
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D259E#FFFFFF#000000##FFFFFF
##8D259E1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA1
Deuteranopia (green-blind)
#355A9B
Tritanopia (blue-blind)
#8E3D60
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8d259e;
/* rgb */ color: rgb(141, 37, 158);
/* oklch */ color: oklch(48.1% 0.196 321.6);
Tailwind
colors: {
  custom: {
    50: '#b26cbb',
    500: '#8d259e',
    950: '#000000',
  },
}
SCSS
$custom: #8d259e;
$custom-light: #b26cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d259e",
  "rgb": {
    "r": 141,
    "g": 37,
    "b": 158
  },
  "hsl": {
    "h": 291.57,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48133,
    "c": 0.19607,
    "h": 321.6
  },
  "luminance": 0.09454
}

Semantic roles & 50–950 ramp

primary
#8D259E
secondary
#6DC05F
accent
#E54359
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8D259E

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

Preview Lab → · Contrast checker → · Palette generator →

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