#8D52D2#8D52D2

#8D52D2 is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.8% C 0.191 H 301.9°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#8D52D2
RGBrgb(141, 82, 210)
HSLhsl(268, 59%, 57%)
HSVhsv(268, 61%, 82%)
CMYKcmyk(32.9%, 61%, 0%, 17.6%)
CIE-LABlab(47.43, 49.63, -57.09)
CIE-LCHlch(47.43, 75.64, 311.00°)
OKLaboklab(56.81% 0.1006 -0.1619)
OKLCHoklch(56.81% 0.191 301.9)
XYZxyz(25.6319, 16.3504, 62.7658)
Luminance0.1635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D52D2 #97D252
analogous
#5257D2 #8D52D2 #CD52D2
triadic
#8D52D2 #D28D52 #52D28D
tetradic
#8D52D2 #D25257 #97D252 #52D2CD
square
#8D52D2 #D25257 #97D252 #52D2CD
split-complementary
#8D52D2 #D2CD52 #57D252
monochromatic
#512387 #6E30B7 #8D52D2 #AD83DF #CDB3EB

Accessibility & contrast

On white

4.92
#8D52D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#8D52D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D52D2
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D52D2#FFFFFF#000000##FFFFFF
##8D52D21.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D6
Deuteranopia (green-blind)
#2A70CF
Tritanopia (blue-blind)
#7F6D8A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8d52d2;
/* rgb */ color: rgb(141, 82, 210);
/* oklch */ color: oklch(56.8% 0.191 301.9);
Tailwind
colors: {
  custom: {
    50: '#b385e0',
    500: '#8d52d2',
    950: '#000000',
  },
}
SCSS
$custom: #8d52d2;
$custom-light: #b385e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d52d2",
  "rgb": {
    "r": 141,
    "g": 82,
    "b": 210
  },
  "hsl": {
    "h": 267.656,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.56812,
    "c": 0.19061,
    "h": 301.9
  },
  "luminance": 0.1635
}

Semantic roles & 50–950 ramp

primary
#8D52D2
secondary
#C2DAA6
accent
#E2469A
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8D52D2

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

Preview Lab → · Contrast checker → · Palette generator →

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