#8D52D3#8D52D3

#8D52D3 is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.9% C 0.192 H 301.6°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#8D52D3
RGBrgb(141, 82, 211)
HSLhsl(267, 59%, 57%)
HSVhsv(267, 61%, 83%)
CMYKcmyk(33.2%, 61.1%, 0%, 17.3%)
CIE-LABlab(47.50, 49.87, -57.55)
CIE-LCHlch(47.50, 76.16, 310.91°)
OKLaboklab(56.88% 0.1006 -0.1632)
OKLCHoklch(56.88% 0.192 301.6)
XYZxyz(25.7569, 16.4004, 63.4240)
Luminance0.1640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D52D3 #98D352
analogous
#5257D3 #8D52D3 #CE52D3
triadic
#8D52D3 #D38D52 #52D38D
tetradic
#8D52D3 #D35257 #98D352 #52D3CE
square
#8D52D3 #D35257 #98D352 #52D3CE
split-complementary
#8D52D3 #D3CE52 #57D352
monochromatic
#512388 #6E2FB9 #8D52D3 #AD83DF #CDB4EC

Accessibility & contrast

On white

4.91
#8D52D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#8D52D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D52D3
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D52D3#FFFFFF#000000##FFFFFF
##8D52D31.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D7
Deuteranopia (green-blind)
#2970D0
Tritanopia (blue-blind)
#7F6D8B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8d52d3;
/* rgb */ color: rgb(141, 82, 211);
/* oklch */ color: oklch(56.9% 0.192 301.6);
Tailwind
colors: {
  custom: {
    50: '#b385e1',
    500: '#8d52d3',
    950: '#000000',
  },
}
SCSS
$custom: #8d52d3;
$custom-light: #b385e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d52d3",
  "rgb": {
    "r": 141,
    "g": 82,
    "b": 211
  },
  "hsl": {
    "h": 267.442,
    "s": 59.447,
    "l": 57.451
  },
  "oklch": {
    "l": 0.5688,
    "c": 0.19175,
    "h": 301.6
  },
  "luminance": 0.164
}

Semantic roles & 50–950 ramp

primary
#8D52D3
secondary
#C3DAA6
accent
#E3459B
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8D52D3

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

Preview Lab → · Contrast checker → · Palette generator →

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