#8D34CC#8D34CC

#8D34CC is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.8% C 0.222 H 306.8°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#8D34CC
RGBrgb(141, 52, 204)
HSLhsl(275, 60%, 50%)
HSVhsv(275, 75%, 80%)
CMYKcmyk(30.9%, 74.5%, 0%, 20%)
CIE-LABlab(41.97, 62.21, -62.47)
CIE-LCHlch(41.97, 88.16, 314.88°)
OKLaboklab(52.77% 0.133 -0.1776)
OKLCHoklch(52.77% 0.222 306.8)
XYZxyz(23.1092, 12.4786, 58.3062)
Luminance0.1248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D34CC #73CC34
analogous
#4134CC #8D34CC #CC34BF
triadic
#8D34CC #CC8D34 #34CC8D
tetradic
#8D34CC #CC4134 #73CC34 #34BFCC
square
#8D34CC #CC4134 #73CC34 #34BFCC
split-complementary
#8D34CC #BFCC34 #34CC41
monochromatic
#4A1B6B #6B279C #8D34CC #A865D8 #C496E5

Accessibility & contrast

On white

6.01
#8D34CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#8D34CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D34CC
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D34CC#FFFFFF#000000##FFFFFF
##8D34CC1.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D0
Deuteranopia (green-blind)
#0064C9
Tritanopia (blue-blind)
#82597E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8d34cc;
/* rgb */ color: rgb(141, 52, 204);
/* oklch */ color: oklch(52.8% 0.222 306.8);
Tailwind
colors: {
  custom: {
    50: '#b474dc',
    500: '#8d34cc',
    950: '#000000',
  },
}
SCSS
$custom: #8d34cc;
$custom-light: #b474dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8d34cc",
  "rgb": {
    "r": 141,
    "g": 52,
    "b": 204
  },
  "hsl": {
    "h": 275.132,
    "s": 59.843,
    "l": 50.196
  },
  "oklch": {
    "l": 0.52766,
    "c": 0.22186,
    "h": 306.8
  },
  "luminance": 0.12478
}

Semantic roles & 50–950 ramp

primary
#8D34CC
secondary
#A8D08C
accent
#E34586
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8D34CC

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

Preview Lab → · Contrast checker → · Palette generator →

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