#8D52D0#8D52D0

#8D52D0 is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.7% C 0.188 H 302.3°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#8D52D0
RGBrgb(141, 82, 208)
HSLhsl(268, 57%, 57%)
HSVhsv(268, 61%, 82%)
CMYKcmyk(32.2%, 60.6%, 0%, 18.4%)
CIE-LABlab(47.30, 49.14, -56.15)
CIE-LCHlch(47.30, 74.61, 311.19°)
OKLaboklab(56.68% 0.1007 -0.1591)
OKLCHoklch(56.68% 0.188 302.3)
XYZxyz(25.3843, 16.2513, 61.4618)
Luminance0.1625 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D52D0 #95D052
analogous
#5256D0 #8D52D0 #CC52D0
triadic
#8D52D0 #D08D52 #52D08D
tetradic
#8D52D0 #D05256 #95D052 #52D0CC
square
#8D52D0 #D05256 #95D052 #52D0CC
split-complementary
#8D52D0 #D0CC52 #56D052
monochromatic
#512484 #6E31B4 #8D52D0 #AD82DD #CCB2EA

Accessibility & contrast

On white

4.94
#8D52D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#8D52D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D52D0
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D52D0#FFFFFF#000000##FFFFFF
##8D52D01.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#016FD4
Deuteranopia (green-blind)
#2D70CD
Tritanopia (blue-blind)
#806C89
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8d52d0;
/* rgb */ color: rgb(141, 82, 208);
/* oklch */ color: oklch(56.7% 0.188 302.3);
Tailwind
colors: {
  custom: {
    50: '#b285df',
    500: '#8d52d0',
    950: '#000000',
  },
}
SCSS
$custom: #8d52d0;
$custom-light: #b285df;
$custom-dark: #000000;
JSON
{
  "hex": "#8d52d0",
  "rgb": {
    "r": 141,
    "g": 82,
    "b": 208
  },
  "hsl": {
    "h": 268.095,
    "s": 57.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.56678,
    "c": 0.18831,
    "h": 302.3
  },
  "luminance": 0.16251
}

Semantic roles & 50–950 ramp

primary
#8D52D0
secondary
#C1D9A5
accent
#E14799
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8D52D0

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

Preview Lab → · Contrast checker → · Palette generator →

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