#8D259C#8D259C

#8D259C is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.0% C 0.194 H 322.3°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#8D259C
RGBrgb(141, 37, 156)
HSLhsl(292, 62%, 38%)
HSVhsv(292, 76%, 61%)
CMYKcmyk(9.6%, 76.3%, 0%, 38.8%)
CIE-LABlab(36.72, 58.00, -42.53)
CIE-LCHlch(36.72, 71.92, 323.75°)
OKLaboklab(48% 0.1538 -0.1189)
OKLCHoklch(48% 0.194 322.3)
XYZxyz(17.6462, 9.3872, 32.3285)
Luminance0.0939 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D259C #349C25
analogous
#51259C #8D259C #9C256F
triadic
#8D259C #9C8D25 #259C8D
tetradic
#8D259C #9C5125 #349C25 #256F9C
square
#8D259C #9C5125 #349C25 #256F9C
split-complementary
#8D259C #6F9C25 #259C51
monochromatic
#340E39 #60196B #8D259C #BA31CD #CB62DA

Accessibility & contrast

On white

7.30
#8D259C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D259C
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D259C#FFFFFF#000000##FFFFFF
##8D259C1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9F
Deuteranopia (green-blind)
#375A99
Tritanopia (blue-blind)
#8F3C5F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8d259c;
/* rgb */ color: rgb(141, 37, 156);
/* oklch */ color: oklch(48.0% 0.194 322.3);
Tailwind
colors: {
  custom: {
    50: '#b26bba',
    500: '#8d259c',
    950: '#000000',
  },
}
SCSS
$custom: #8d259c;
$custom-light: #b26bba;
$custom-dark: #000000;
JSON
{
  "hex": "#8d259c",
  "rgb": {
    "r": 141,
    "g": 37,
    "b": 156
  },
  "hsl": {
    "h": 292.437,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48002,
    "c": 0.1944,
    "h": 322.3
  },
  "luminance": 0.09386
}

Semantic roles & 50–950 ramp

primary
#8D259C
secondary
#6ABF5E
accent
#E54357
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8D259C

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

Preview Lab → · Contrast checker → · Palette generator →

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