#8D229B#8D229B

#8D229B is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.7% C 0.197 H 322.7°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#8D229B
RGBrgb(141, 34, 155)
HSLhsl(293, 64%, 37%)
HSVhsv(293, 78%, 61%)
CMYKcmyk(9%, 78.1%, 0%, 39.2%)
CIE-LABlab(36.32, 58.79, -42.57)
CIE-LCHlch(36.32, 72.58, 324.09°)
OKLaboklab(47.7% 0.1565 -0.119)
OKLCHoklch(47.7% 0.197 322.7)
XYZxyz(17.4723, 9.1744, 31.8545)
Luminance0.0917 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D229B #309B22
analogous
#51229B #8D229B #9B226D
triadic
#8D229B #9B8D22 #229B8D
tetradic
#8D229B #9B5122 #309B22 #226D9B
square
#8D229B #9B5122 #309B22 #226D9B
split-complementary
#8D229B #6D9B22 #229B51
monochromatic
#320C37 #5F1769 #8D229B #BB2DCD #CD5CDB

Accessibility & contrast

On white

7.41
#8D229B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8D229B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D229B
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D229B#FFFFFF#000000##FFFFFF
##8D229B1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9E
Deuteranopia (green-blind)
#365998
Tritanopia (blue-blind)
#8F3A5E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8d229b;
/* rgb */ color: rgb(141, 34, 155);
/* oklch */ color: oklch(47.7% 0.197 322.7);
Tailwind
colors: {
  custom: {
    50: '#b26ab9',
    500: '#8d229b',
    950: '#000000',
  },
}
SCSS
$custom: #8d229b;
$custom-light: #b26ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d229b",
  "rgb": {
    "r": 141,
    "g": 34,
    "b": 155
  },
  "hsl": {
    "h": 293.058,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47696,
    "c": 0.19661,
    "h": 322.7
  },
  "luminance": 0.09173
}

Semantic roles & 50–950 ramp

primary
#8D229B
secondary
#65C059
accent
#E74154
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8D229B

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

Preview Lab → · Contrast checker → · Palette generator →

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