#8D34D3#8D34D3

#8D34D3 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 53.3% C 0.229 H 305.1°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#8D34D3
RGBrgb(141, 52, 211)
HSLhsl(274, 64%, 52%)
HSVhsv(274, 75%, 83%)
CMYKcmyk(33.2%, 75.4%, 0%, 17.3%)
CIE-LABlab(42.49, 63.76, -65.65)
CIE-LCHlch(42.49, 91.52, 314.16°)
OKLaboklab(53.3% 0.1316 -0.1869)
OKLCHoklch(53.3% 0.229 305.1)
XYZxyz(23.9677, 12.8220, 62.8276)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D34D3 #7AD334
analogous
#3E34D3 #8D34D3 #D334C9
triadic
#8D34D3 #D38D34 #34D38D
tetradic
#8D34D3 #D33E34 #7AD334 #34C9D3
square
#8D34D3 #D33E34 #7AD334 #34C9D3
split-complementary
#8D34D3 #C9D334 #34D33E
monochromatic
#4C1974 #6D24A6 #8D34D3 #A966DE #C599E9

Accessibility & contrast

On white

5.89
#8D34D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#8D34D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D34D3
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D34D3#FFFFFF#000000##FFFFFF
##8D34D31.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D7
Deuteranopia (green-blind)
#0064D0
Tritanopia (blue-blind)
#805C82
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8d34d3;
/* rgb */ color: rgb(141, 52, 211);
/* oklch */ color: oklch(53.3% 0.229 305.1);
Tailwind
colors: {
  custom: {
    50: '#b475e1',
    500: '#8d34d3',
    950: '#000000',
  },
}
SCSS
$custom: #8d34d3;
$custom-light: #b475e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d34d3",
  "rgb": {
    "r": 141,
    "g": 52,
    "b": 211
  },
  "hsl": {
    "h": 273.585,
    "s": 64.372,
    "l": 51.569
  },
  "oklch": {
    "l": 0.53302,
    "c": 0.22857,
    "h": 305.1
  },
  "luminance": 0.12822
}

Semantic roles & 50–950 ramp

primary
#8D34D3
secondary
#ADD48E
accent
#E7408A
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8D34D3

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

Preview Lab → · Contrast checker → · Palette generator →

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