#8D259B#8D259B

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

Color values

HEX#8D259B
RGBrgb(141, 37, 155)
HSLhsl(293, 61%, 38%)
HSVhsv(293, 76%, 61%)
CMYKcmyk(9%, 76.1%, 0%, 39.2%)
CIE-LABlab(36.66, 57.82, -42.03)
CIE-LCHlch(36.66, 71.48, 323.99°)
OKLaboklab(47.94% 0.1538 -0.1175)
OKLCHoklch(47.94% 0.194 322.6)
XYZxyz(17.5619, 9.3534, 31.8844)
Luminance0.0935 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D259B #339B25
analogous
#52259B #8D259B #9B256E
triadic
#8D259B #9B8D25 #259B8D
tetradic
#8D259B #9B5225 #339B25 #256E9B
square
#8D259B #9B5225 #339B25 #256E9B
split-complementary
#8D259B #6E9B25 #259B52
monochromatic
#330D38 #60196A #8D259B #BA31CC #CB61D9

Accessibility & contrast

On white

7.32
#8D259B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#8D259B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D259B
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D259B#FFFFFF#000000##FFFFFF
##8D259B1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9E
Deuteranopia (green-blind)
#385A98
Tritanopia (blue-blind)
#8F3C5F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8d259b;
/* rgb */ color: rgb(141, 37, 155);
/* oklch */ color: oklch(47.9% 0.194 322.6);
Tailwind
colors: {
  custom: {
    50: '#b26bb9',
    500: '#8d259b',
    950: '#000000',
  },
}
SCSS
$custom: #8d259b;
$custom-light: #b26bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d259b",
  "rgb": {
    "r": 141,
    "g": 37,
    "b": 155
  },
  "hsl": {
    "h": 292.881,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47936,
    "c": 0.19356,
    "h": 322.6
  },
  "luminance": 0.09352
}

Semantic roles & 50–950 ramp

primary
#8D259B
secondary
#69BF5D
accent
#E54356
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8D259B

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

Preview Lab → · Contrast checker → · Palette generator →

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