#8D52D8#8D52D8

#8D52D8 is a mid, vivid violet. Relative luminance 0.167; OKLCH L 57.2% C 0.197 H 300.5°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#8D52D8
RGBrgb(141, 82, 216)
HSLhsl(266, 63%, 58%)
HSVhsv(266, 62%, 85%)
CMYKcmyk(34.7%, 62%, 0%, 15.3%)
CIE-LABlab(47.82, 51.11, -59.88)
CIE-LCHlch(47.82, 78.73, 310.48°)
OKLaboklab(57.22% 0.1003 -0.1701)
OKLCHoklch(57.22% 0.197 300.5)
XYZxyz(26.3935, 16.6550, 66.7767)
Luminance0.1666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D52D8 #9DD852
analogous
#525AD8 #8D52D8 #D052D8
triadic
#8D52D8 #D88D52 #52D88D
tetradic
#8D52D8 #D8525A #9DD852 #52D8D0
square
#8D52D8 #D8525A #9DD852 #52D8D0
split-complementary
#8D52D8 #D8D052 #5AD852
monochromatic
#51208F #6D2CC1 #8D52D8 #AE84E3 #CFB6EF

Accessibility & contrast

On white

4.85
#8D52D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#8D52D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D52D8
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D52D8#FFFFFF#000000##FFFFFF
##8D52D81.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DC
Deuteranopia (green-blind)
#1F71D5
Tritanopia (blue-blind)
#7D6F8D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8d52d8;
/* rgb */ color: rgb(141, 82, 216);
/* oklch */ color: oklch(57.2% 0.197 300.5);
Tailwind
colors: {
  custom: {
    50: '#b386e5',
    500: '#8d52d8',
    950: '#000000',
  },
}
SCSS
$custom: #8d52d8;
$custom-light: #b386e5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d52d8",
  "rgb": {
    "r": 141,
    "g": 82,
    "b": 216
  },
  "hsl": {
    "h": 266.418,
    "s": 63.208,
    "l": 58.431
  },
  "oklch": {
    "l": 0.57221,
    "c": 0.19748,
    "h": 300.5
  },
  "luminance": 0.16655
}

Semantic roles & 50–950 ramp

primary
#8D52D8
secondary
#C6DDA8
accent
#E6429E
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8D52D8

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

Preview Lab → · Contrast checker → · Palette generator →

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