#8D34D8#8D34D8

#8D34D8 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.7% C 0.233 H 304.0°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#8D34D8
RGBrgb(141, 52, 216)
HSLhsl(273, 68%, 53%)
HSVhsv(273, 76%, 85%)
CMYKcmyk(34.7%, 75.9%, 0%, 15.3%)
CIE-LABlab(42.88, 64.87, -67.90)
CIE-LCHlch(42.88, 93.91, 313.69°)
OKLaboklab(53.69% 0.1305 -0.1935)
OKLCHoklch(53.69% 0.233 304)
XYZxyz(24.6043, 13.0766, 66.1803)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D34D8 #7FD834
analogous
#3B34D8 #8D34D8 #D834D1
triadic
#8D34D8 #D88D34 #34D88D
tetradic
#8D34D8 #D83B34 #7FD834 #34D1D8
square
#8D34D8 #D83B34 #7FD834 #34D1D8
split-complementary
#8D34D8 #D1D834 #34D83B
monochromatic
#4D177A #6D21AD #8D34D8 #AA67E2 #C79BEC

Accessibility & contrast

On white

5.81
#8D34D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#8D34D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D34D8
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D34D8#FFFFFF#000000##FFFFFF
##8D34D81.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063DD
Deuteranopia (green-blind)
#0065D5
Tritanopia (blue-blind)
#7E5E85
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8d34d8;
/* rgb */ color: rgb(141, 52, 216);
/* oklch */ color: oklch(53.7% 0.233 304.0);
Tailwind
colors: {
  custom: {
    50: '#b575e5',
    500: '#8d34d8',
    950: '#000000',
  },
}
SCSS
$custom: #8d34d8;
$custom-light: #b575e5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d34d8",
  "rgb": {
    "r": 141,
    "g": 52,
    "b": 216
  },
  "hsl": {
    "h": 272.561,
    "s": 67.769,
    "l": 52.549
  },
  "oklch": {
    "l": 0.53692,
    "c": 0.23338,
    "h": 304
  },
  "luminance": 0.13077
}

Semantic roles & 50–950 ramp

primary
#8D34D8
secondary
#B1D890
accent
#EB3D8C
background
#FBF7FE
surface
#F6EDFC
border
#D0C8D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8D34D8

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

Preview Lab → · Contrast checker → · Palette generator →

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