#8D229D#8D229D

#8D229D is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.8% C 0.198 H 322.0°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#8D229D
RGBrgb(141, 34, 157)
HSLhsl(292, 64%, 37%)
HSVhsv(292, 78%, 62%)
CMYKcmyk(10.2%, 78.3%, 0%, 38.4%)
CIE-LABlab(36.45, 59.15, -43.57)
CIE-LCHlch(36.45, 73.47, 323.62°)
OKLaboklab(47.83% 0.1563 -0.122)
OKLCHoklch(47.83% 0.198 322)
XYZxyz(17.6417, 9.2421, 32.7464)
Luminance0.0924 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D229D #329D22
analogous
#4F229D #8D229D #9D2270
triadic
#8D229D #9D8D22 #229D8D
tetradic
#8D229D #9D4F22 #329D22 #22709D
square
#8D229D #9D4F22 #329D22 #22709D
split-complementary
#8D229D #709D22 #229D4F
monochromatic
#330C38 #60176B #8D229D #BA2DCF #CC5DDC

Accessibility & contrast

On white

7.37
#8D229D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#8D229D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D229D
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D229D#FFFFFF#000000##FFFFFF
##8D229D1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA0
Deuteranopia (green-blind)
#345A9A
Tritanopia (blue-blind)
#8F3B5F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8d229d;
/* rgb */ color: rgb(141, 34, 157);
/* oklch */ color: oklch(47.8% 0.198 322.0);
Tailwind
colors: {
  custom: {
    50: '#b26aba',
    500: '#8d229d',
    950: '#000000',
  },
}
SCSS
$custom: #8d229d;
$custom-light: #b26aba;
$custom-dark: #000000;
JSON
{
  "hex": "#8d229d",
  "rgb": {
    "r": 141,
    "g": 34,
    "b": 157
  },
  "hsl": {
    "h": 292.195,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47828,
    "c": 0.19825,
    "h": 322
  },
  "luminance": 0.09241
}

Semantic roles & 50–950 ramp

primary
#8D229D
secondary
#68C15A
accent
#E74056
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8D229D

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

Preview Lab → · Contrast checker → · Palette generator →

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