#8D2A95#8D2A95

#8D2A95 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.0% C 0.183 H 324.7°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#8D2A95
RGBrgb(141, 42, 149)
HSLhsl(296, 56%, 37%)
HSVhsv(296, 72%, 58%)
CMYKcmyk(5.4%, 71.8%, 0%, 41.6%)
CIE-LABlab(36.91, 54.95, -37.97)
CIE-LCHlch(36.91, 66.80, 325.36°)
OKLaboklab(48% 0.1493 -0.1057)
OKLCHoklch(48% 0.183 324.7)
XYZxyz(17.2369, 9.4897, 29.3517)
Luminance0.0949 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2A95 #32952A
analogous
#582A95 #8D2A95 #952A68
triadic
#8D2A95 #958D2A #2A958D
tetradic
#8D2A95 #95582A #32952A #2A6895
square
#8D2A95 #95582A #32952A #2A6895
split-complementary
#8D2A95 #68952A #2A9558
monochromatic
#330F36 #601D65 #8D2A95 #BA37C5 #CC66D4

Accessibility & contrast

On white

7.25
#8D2A95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#8D2A95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2A95
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2A95#FFFFFF#000000##FFFFFF
##8D2A951.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4F98
Deuteranopia (green-blind)
#3F5B92
Tritanopia (blue-blind)
#903C5D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8d2a95;
/* rgb */ color: rgb(141, 42, 149);
/* oklch */ color: oklch(48.0% 0.183 324.7);
Tailwind
colors: {
  custom: {
    50: '#b26db5',
    500: '#8d2a95',
    950: '#000000',
  },
}
SCSS
$custom: #8d2a95;
$custom-light: #b26db5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2a95",
  "rgb": {
    "r": 141,
    "g": 42,
    "b": 149
  },
  "hsl": {
    "h": 295.514,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48,
    "c": 0.1829,
    "h": 324.7
  },
  "luminance": 0.09489
}

Semantic roles & 50–950 ramp

primary
#8D2A95
secondary
#68BA61
accent
#DF4854
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D2A95

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

Preview Lab → · Contrast checker → · Palette generator →

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