#8D34B3#8D34B3

#8D34B3 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 51.0% C 0.198 H 313.8°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#8D34B3
RGBrgb(141, 52, 179)
HSLhsl(282, 55%, 45%)
HSVhsv(282, 71%, 70%)
CMYKcmyk(21.2%, 70.9%, 0%, 29.8%)
CIE-LABlab(40.20, 56.85, -50.69)
CIE-LCHlch(40.20, 76.17, 318.28°)
OKLaboklab(50.96% 0.1369 -0.143)
OKLCHoklch(50.96% 0.198 313.8)
XYZxyz(20.3478, 11.3740, 43.7626)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D34B3 #5AB334
analogous
#4D34B3 #8D34B3 #B33499
triadic
#8D34B3 #B38D34 #34B38D
tetradic
#8D34B3 #B34D34 #5AB334 #3499B3
square
#8D34B3 #B34D34 #5AB334 #3499B3
split-complementary
#8D34B3 #99B334 #34B34D
monochromatic
#421854 #682684 #8D34B3 #AA56CE #C286DC

Accessibility & contrast

On white

6.41
#8D34B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#8D34B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D34B3
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D34B3#FFFFFF#000000##FFFFFF
##8D34B31.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB7
Deuteranopia (green-blind)
#2B61B0
Tritanopia (blue-blind)
#894F70
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8d34b3;
/* rgb */ color: rgb(141, 52, 179);
/* oklch */ color: oklch(51.0% 0.198 313.8);
Tailwind
colors: {
  custom: {
    50: '#b273ca',
    500: '#8d34b3',
    950: '#000000',
  },
}
SCSS
$custom: #8d34b3;
$custom-light: #b273ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8d34b3",
  "rgb": {
    "r": 141,
    "g": 52,
    "b": 179
  },
  "hsl": {
    "h": 282.047,
    "s": 54.978,
    "l": 45.294
  },
  "oklch": {
    "l": 0.50959,
    "c": 0.19792,
    "h": 313.8
  },
  "luminance": 0.11373
}

Semantic roles & 50–950 ramp

primary
#8D34B3
secondary
#93C57D
accent
#DE4976
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8D34B3

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

Preview Lab → · Contrast checker → · Palette generator →

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