#8D52D6#8D52D6

#8D52D6 is a mid, vivid violet. Relative luminance 0.166; OKLCH L 57.1% C 0.195 H 301.0°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#8D52D6
RGBrgb(141, 82, 214)
HSLhsl(267, 62%, 58%)
HSVhsv(267, 62%, 84%)
CMYKcmyk(34.1%, 61.7%, 0%, 16.1%)
CIE-LABlab(47.69, 50.61, -58.96)
CIE-LCHlch(47.69, 77.70, 310.65°)
OKLaboklab(57.08% 0.1005 -0.1674)
OKLCHoklch(57.08% 0.195 301)
XYZxyz(26.1365, 16.5522, 65.4232)
Luminance0.1655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D52D6 #9BD652
analogous
#5259D6 #8D52D6 #CF52D6
triadic
#8D52D6 #D68D52 #52D68D
tetradic
#8D52D6 #D65259 #9BD652 #52D6CF
square
#8D52D6 #D65259 #9BD652 #52D6CF
split-complementary
#8D52D6 #D6CF52 #59D652
monochromatic
#51218C #6E2DBE #8D52D6 #AE83E2 #CEB5ED

Accessibility & contrast

On white

4.87
#8D52D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#8D52D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D52D6
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D52D6#FFFFFF#000000##FFFFFF
##8D52D61.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DA
Deuteranopia (green-blind)
#2370D3
Tritanopia (blue-blind)
#7E6E8C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8d52d6;
/* rgb */ color: rgb(141, 82, 214);
/* oklch */ color: oklch(57.1% 0.195 301.0);
Tailwind
colors: {
  custom: {
    50: '#b385e3',
    500: '#8d52d6',
    950: '#000000',
  },
}
SCSS
$custom: #8d52d6;
$custom-light: #b385e3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d52d6",
  "rgb": {
    "r": 141,
    "g": 82,
    "b": 214
  },
  "hsl": {
    "h": 266.818,
    "s": 61.682,
    "l": 58.039
  },
  "oklch": {
    "l": 0.57084,
    "c": 0.1952,
    "h": 301
  },
  "luminance": 0.16552
}

Semantic roles & 50–950 ramp

primary
#8D52D6
secondary
#C5DCA8
accent
#E5439C
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8D52D6

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

Preview Lab → · Contrast checker → · Palette generator →

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