#8D229E#8D229E

#8D229E is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.9% C 0.199 H 321.7°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#8D229E
RGBrgb(141, 34, 158)
HSLhsl(292, 65%, 38%)
HSVhsv(292, 78%, 62%)
CMYKcmyk(10.8%, 78.5%, 0%, 38%)
CIE-LABlab(36.51, 59.33, -44.07)
CIE-LCHlch(36.51, 73.91, 323.39°)
OKLaboklab(47.9% 0.1562 -0.1234)
OKLCHoklch(47.9% 0.199 321.7)
XYZxyz(17.7274, 9.2764, 33.1979)
Luminance0.0927 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D229E #339E22
analogous
#4F229E #8D229E #9E2271
triadic
#8D229E #9E8D22 #229E8D
tetradic
#8D229E #9E4F22 #339E22 #22719E
square
#8D229E #9E4F22 #339E22 #22719E
split-complementary
#8D229E #719E22 #229E4F
monochromatic
#330C39 #60176C #8D229E #BA2DD0 #CB5EDC

Accessibility & contrast

On white

7.36
#8D229E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D229E
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D229E#FFFFFF#000000##FFFFFF
##8D229E1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA1
Deuteranopia (green-blind)
#335A9B
Tritanopia (blue-blind)
#8E3C60
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8d229e;
/* rgb */ color: rgb(141, 34, 158);
/* oklch */ color: oklch(47.9% 0.199 321.7);
Tailwind
colors: {
  custom: {
    50: '#b26abb',
    500: '#8d229e',
    950: '#000000',
  },
}
SCSS
$custom: #8d229e;
$custom-light: #b26abb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d229e",
  "rgb": {
    "r": 141,
    "g": 34,
    "b": 158
  },
  "hsl": {
    "h": 291.774,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47895,
    "c": 0.19908,
    "h": 321.7
  },
  "luminance": 0.09275
}

Semantic roles & 50–950 ramp

primary
#8D229E
secondary
#69C15B
accent
#E84057
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8D229E

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

Preview Lab → · Contrast checker → · Palette generator →

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