#8D52D5#8D52D5

#8D52D5 is a mid, vivid violet. Relative luminance 0.165; OKLCH L 57.0% C 0.194 H 301.2°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#8D52D5
RGBrgb(141, 82, 213)
HSLhsl(267, 61%, 58%)
HSVhsv(267, 62%, 84%)
CMYKcmyk(33.8%, 61.5%, 0%, 16.5%)
CIE-LABlab(47.63, 50.37, -58.49)
CIE-LCHlch(47.63, 77.19, 310.73°)
OKLaboklab(57.02% 0.1005 -0.166)
OKLCHoklch(57.02% 0.194 301.2)
XYZxyz(26.0092, 16.5013, 64.7527)
Luminance0.1650 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D52D5 #9AD552
analogous
#5258D5 #8D52D5 #CE52D5
triadic
#8D52D5 #D58D52 #52D58D
tetradic
#8D52D5 #D55258 #9AD552 #52D5CE
square
#8D52D5 #D55258 #9AD552 #52D5CE
split-complementary
#8D52D5 #D5CE52 #58D552
monochromatic
#51228B #6E2EBC #8D52D5 #AD83E1 #CEB4ED

Accessibility & contrast

On white

4.88
#8D52D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#8D52D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D52D5
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D52D5#FFFFFF#000000##FFFFFF
##8D52D51.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D9
Deuteranopia (green-blind)
#2570D2
Tritanopia (blue-blind)
#7E6E8C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8d52d5;
/* rgb */ color: rgb(141, 82, 213);
/* oklch */ color: oklch(57.0% 0.194 301.2);
Tailwind
colors: {
  custom: {
    50: '#b385e3',
    500: '#8d52d5',
    950: '#000000',
  },
}
SCSS
$custom: #8d52d5;
$custom-light: #b385e3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d52d5",
  "rgb": {
    "r": 141,
    "g": 82,
    "b": 213
  },
  "hsl": {
    "h": 267.023,
    "s": 60.93,
    "l": 57.843
  },
  "oklch": {
    "l": 0.57016,
    "c": 0.19405,
    "h": 301.2
  },
  "luminance": 0.16501
}

Semantic roles & 50–950 ramp

primary
#8D52D5
secondary
#C4DCA7
accent
#E4449C
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B15
muted
#807C84

Preview Lab

Preview with #8D52D5

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

Preview Lab → · Contrast checker → · Palette generator →

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