#8D34BC#8D34BC

#8D34BC is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.6% C 0.207 H 311.1°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#8D34BC
RGBrgb(141, 52, 188)
HSLhsl(279, 57%, 47%)
HSVhsv(279, 72%, 74%)
CMYKcmyk(25%, 72.3%, 0%, 26.3%)
CIE-LABlab(40.82, 58.75, -55.01)
CIE-LCHlch(40.82, 80.48, 316.88°)
OKLaboklab(51.59% 0.1358 -0.1556)
OKLCHoklch(51.59% 0.207 311.1)
XYZxyz(21.2879, 11.7501, 48.7138)
Luminance0.1175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D34BC #63BC34
analogous
#4934BC #8D34BC #BC34A7
triadic
#8D34BC #BC8D34 #34BC8D
tetradic
#8D34BC #BC4934 #63BC34 #34A7BC
square
#8D34BC #BC4934 #63BC34 #34A7BC
split-complementary
#8D34BC #A7BC34 #34BC49
monochromatic
#45195C #69278C #8D34BC #A95BD2 #C28BDF

Accessibility & contrast

On white

6.27
#8D34BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#8D34BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D34BC
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D34BC#FFFFFF#000000##FFFFFF
##8D34BC1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#1E62B9
Tritanopia (blue-blind)
#875275
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8d34bc;
/* rgb */ color: rgb(141, 52, 188);
/* oklch */ color: oklch(51.6% 0.207 311.1);
Tailwind
colors: {
  custom: {
    50: '#b374d1',
    500: '#8d34bc',
    950: '#000000',
  },
}
SCSS
$custom: #8d34bc;
$custom-light: #b374d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d34bc",
  "rgb": {
    "r": 141,
    "g": 52,
    "b": 188
  },
  "hsl": {
    "h": 279.265,
    "s": 56.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.51589,
    "c": 0.20651,
    "h": 311.1
  },
  "luminance": 0.1175
}

Semantic roles & 50–950 ramp

primary
#8D34BC
secondary
#9BC983
accent
#E0487C
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8D34BC

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

Preview Lab → · Contrast checker → · Palette generator →

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