#8D34CA#8D34CA

#8D34CA is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.6% C 0.220 H 307.3°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#8D34CA
RGBrgb(141, 52, 202)
HSLhsl(276, 59%, 50%)
HSVhsv(276, 74%, 79%)
CMYKcmyk(30.2%, 74.3%, 0%, 20.8%)
CIE-LABlab(41.82, 61.77, -61.55)
CIE-LCHlch(41.82, 87.20, 315.10°)
OKLaboklab(52.62% 0.1334 -0.1748)
OKLCHoklch(52.62% 0.22 307.3)
XYZxyz(22.8709, 12.3833, 57.0510)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D34CA #71CA34
analogous
#4234CA #8D34CA #CA34BC
triadic
#8D34CA #CA8D34 #34CA8D
tetradic
#8D34CA #CA4234 #71CA34 #34BCCA
square
#8D34CA #CA4234 #71CA34 #34BCCA
split-complementary
#8D34CA #BCCA34 #34CA42
monochromatic
#491B69 #6B2799 #8D34CA #A864D7 #C495E4

Accessibility & contrast

On white

6.04
#8D34CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#8D34CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D34CA
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D34CA#FFFFFF#000000##FFFFFF
##8D34CA1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CE
Deuteranopia (green-blind)
#0063C7
Tritanopia (blue-blind)
#83587D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8d34ca;
/* rgb */ color: rgb(141, 52, 202);
/* oklch */ color: oklch(52.6% 0.220 307.3);
Tailwind
colors: {
  custom: {
    50: '#b474db',
    500: '#8d34ca',
    950: '#000000',
  },
}
SCSS
$custom: #8d34ca;
$custom-light: #b474db;
$custom-dark: #000000;
JSON
{
  "hex": "#8d34ca",
  "rgb": {
    "r": 141,
    "g": 52,
    "b": 202
  },
  "hsl": {
    "h": 275.6,
    "s": 59.055,
    "l": 49.804
  },
  "oklch": {
    "l": 0.52615,
    "c": 0.21993,
    "h": 307.3
  },
  "luminance": 0.12383
}

Semantic roles & 50–950 ramp

primary
#8D34CA
secondary
#A7CF8B
accent
#E24685
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8D34CA

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

Preview Lab → · Contrast checker → · Palette generator →

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