#8D34D1#8D34D1

#8D34D1 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 53.1% C 0.227 H 305.6°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#8D34D1
RGBrgb(141, 52, 209)
HSLhsl(274, 63%, 51%)
HSVhsv(274, 75%, 82%)
CMYKcmyk(32.5%, 75.1%, 0%, 18%)
CIE-LABlab(42.34, 63.32, -64.75)
CIE-LCHlch(42.34, 90.56, 314.36°)
OKLaboklab(53.15% 0.132 -0.1842)
OKLCHoklch(53.15% 0.227 305.6)
XYZxyz(23.7186, 12.7223, 61.5154)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D34D1 #78D134
analogous
#3E34D1 #8D34D1 #D134C6
triadic
#8D34D1 #D18D34 #34D18D
tetradic
#8D34D1 #D13E34 #78D134 #34C6D1
square
#8D34D1 #D13E34 #78D134 #34C6D1
split-complementary
#8D34D1 #C6D134 #34D13E
monochromatic
#4B1A71 #6C25A3 #8D34D1 #A966DC #C598E8

Accessibility & contrast

On white

5.92
#8D34D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#8D34D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D34D1
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D34D1#FFFFFF#000000##FFFFFF
##8D34D11.005.923.545.92
#FFFFFF5.921.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D5
Deuteranopia (green-blind)
#0064CE
Tritanopia (blue-blind)
#815B81
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8d34d1;
/* rgb */ color: rgb(141, 52, 209);
/* oklch */ color: oklch(53.1% 0.227 305.6);
Tailwind
colors: {
  custom: {
    50: '#b475e0',
    500: '#8d34d1',
    950: '#000000',
  },
}
SCSS
$custom: #8d34d1;
$custom-light: #b475e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d34d1",
  "rgb": {
    "r": 141,
    "g": 52,
    "b": 209
  },
  "hsl": {
    "h": 274.013,
    "s": 63.052,
    "l": 51.176
  },
  "oklch": {
    "l": 0.53148,
    "c": 0.22665,
    "h": 305.6
  },
  "luminance": 0.12722
}

Semantic roles & 50–950 ramp

primary
#8D34D1
secondary
#ACD38E
accent
#E64289
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8D34D1

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

Preview Lab → · Contrast checker → · Palette generator →

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