#8D34DD#8D34DD

#8D34DD is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 54.1% C 0.238 H 302.9°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#8D34DD
RGBrgb(141, 52, 221)
HSLhsl(272, 71%, 54%)
HSVhsv(272, 76%, 87%)
CMYKcmyk(36.2%, 76.5%, 0%, 13.3%)
CIE-LABlab(43.27, 65.99, -70.13)
CIE-LCHlch(43.27, 96.30, 313.26°)
OKLaboklab(54.09% 0.1293 -0.2)
OKLCHoklch(54.09% 0.238 302.9)
XYZxyz(25.2605, 13.3391, 69.6365)
Luminance0.1334 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D34DD #84DD34
analogous
#3834DD #8D34DD #DD34D8
triadic
#8D34DD #DD8D34 #34DD8D
tetradic
#8D34DD #DD3834 #84DD34 #34D8DD
square
#8D34DD #DD3834 #84DD34 #34D8DD
split-complementary
#8D34DD #D8DD34 #34DD38
monochromatic
#4E1681 #6E1EB5 #8D34DD #AA68E6 #C89DEF

Accessibility & contrast

On white

5.73
#8D34DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#8D34DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D34DD
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D34DD#FFFFFF#000000##FFFFFF
##8D34DD1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E2
Deuteranopia (green-blind)
#0066DA
Tritanopia (blue-blind)
#7C6088
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8d34dd;
/* rgb */ color: rgb(141, 52, 221);
/* oklch */ color: oklch(54.1% 0.238 302.9);
Tailwind
colors: {
  custom: {
    50: '#b575e9',
    500: '#8d34dd',
    950: '#000000',
  },
}
SCSS
$custom: #8d34dd;
$custom-light: #b575e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d34dd",
  "rgb": {
    "r": 141,
    "g": 52,
    "b": 221
  },
  "hsl": {
    "h": 271.598,
    "s": 71.308,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54088,
    "c": 0.23818,
    "h": 302.9
  },
  "luminance": 0.13339
}

Semantic roles & 50–950 ramp

primary
#8D34DD
secondary
#B4DB92
accent
#EE3A8F
background
#FBF7FE
surface
#F7EDFD
border
#D0C8D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8D34DD

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

Preview Lab → · Contrast checker → · Palette generator →

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