#8D34DA#8D34DA

#8D34DA is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.8% C 0.235 H 303.5°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#8D34DA
RGBrgb(141, 52, 218)
HSLhsl(272, 69%, 53%)
HSVhsv(272, 76%, 85%)
CMYKcmyk(35.3%, 76.1%, 0%, 14.5%)
CIE-LABlab(43.03, 65.32, -68.79)
CIE-LCHlch(43.03, 94.86, 313.52°)
OKLaboklab(53.85% 0.13 -0.1961)
OKLCHoklch(53.85% 0.235 303.5)
XYZxyz(24.8644, 13.1807, 67.5503)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D34DA #81DA34
analogous
#3A34DA #8D34DA #DA34D4
triadic
#8D34DA #DA8D34 #34DA8D
tetradic
#8D34DA #DA3A34 #81DA34 #34D4DA
square
#8D34DA #DA3A34 #81DA34 #34D4DA
split-complementary
#8D34DA #D4DA34 #34DA3A
monochromatic
#4D177D #6E20B1 #8D34DA #AA68E3 #C79CED

Accessibility & contrast

On white

5.78
#8D34DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#8D34DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D34DA
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D34DA#FFFFFF#000000##FFFFFF
##8D34DA1.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DF
Deuteranopia (green-blind)
#0065D7
Tritanopia (blue-blind)
#7D5F86
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8d34da;
/* rgb */ color: rgb(141, 52, 218);
/* oklch */ color: oklch(53.8% 0.235 303.5);
Tailwind
colors: {
  custom: {
    50: '#b575e7',
    500: '#8d34da',
    950: '#000000',
  },
}
SCSS
$custom: #8d34da;
$custom-light: #b575e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d34da",
  "rgb": {
    "r": 141,
    "g": 52,
    "b": 218
  },
  "hsl": {
    "h": 272.169,
    "s": 69.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.5385,
    "c": 0.2353,
    "h": 303.5
  },
  "luminance": 0.13181
}

Semantic roles & 50–950 ramp

primary
#8D34DA
secondary
#B2D991
accent
#EC3C8E
background
#FBF7FE
surface
#F6EDFD
border
#D0C8D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8D34DA

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

Preview Lab → · Contrast checker → · Palette generator →

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