#8D34A2#8D34A2

#8D34A2 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 49.8% C 0.182 H 319.4°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#8D34A2
RGBrgb(141, 52, 162)
HSLhsl(289, 51%, 42%)
HSVhsv(289, 68%, 64%)
CMYKcmyk(13%, 67.9%, 0%, 36.5%)
CIE-LABlab(39.12, 53.40, -42.31)
CIE-LCHlch(39.12, 68.13, 321.61°)
OKLaboklab(49.84% 0.1381 -0.1184)
OKLCHoklch(49.84% 0.182 319.4)
XYZxyz(18.7332, 10.7282, 35.2594)
Luminance0.1073 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D34A2 #49A234
analogous
#5634A2 #8D34A2 #A23480
triadic
#8D34A2 #A28D34 #34A28D
tetradic
#8D34A2 #A25634 #49A234 #3480A2
square
#8D34A2 #A25634 #49A234 #3480A2
split-complementary
#8D34A2 #80A234 #34A256
monochromatic
#3C1645 #652574 #8D34A2 #AF4DC6 #C47CD5

Accessibility & contrast

On white

6.68
#8D34A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#8D34A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D34A2
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D34A2#FFFFFF#000000##FFFFFF
##8D34A21.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0956A5
Deuteranopia (green-blind)
#3C5F9F
Tritanopia (blue-blind)
#8D4867
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8d34a2;
/* rgb */ color: rgb(141, 52, 162);
/* oklch */ color: oklch(49.8% 0.182 319.4);
Tailwind
colors: {
  custom: {
    50: '#b273be',
    500: '#8d34a2',
    950: '#000000',
  },
}
SCSS
$custom: #8d34a2;
$custom-light: #b273be;
$custom-dark: #000000;
JSON
{
  "hex": "#8d34a2",
  "rgb": {
    "r": 141,
    "g": 52,
    "b": 162
  },
  "hsl": {
    "h": 288.545,
    "s": 51.402,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49836,
    "c": 0.18188,
    "h": 319.4
  },
  "luminance": 0.10727
}

Semantic roles & 50–950 ramp

primary
#8D34A2
secondary
#82BE74
accent
#DB4D68
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8D34A2

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

Preview Lab → · Contrast checker → · Palette generator →

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