#8D52D4#8D52D4

#8D52D4 is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.9% C 0.193 H 301.4°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#8D52D4
RGBrgb(141, 82, 212)
HSLhsl(267, 60%, 58%)
HSVhsv(267, 61%, 83%)
CMYKcmyk(33.5%, 61.3%, 0%, 16.9%)
CIE-LABlab(47.56, 50.12, -58.02)
CIE-LCHlch(47.56, 76.67, 310.82°)
OKLaboklab(56.95% 0.1006 -0.1646)
OKLCHoklch(56.95% 0.193 301.4)
XYZxyz(25.8826, 16.4507, 64.0863)
Luminance0.1645 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D52D4 #99D452
analogous
#5258D4 #8D52D4 #CE52D4
triadic
#8D52D4 #D48D52 #52D48D
tetradic
#8D52D4 #D45258 #99D452 #52D4CE
square
#8D52D4 #D45258 #99D452 #52D4CE
split-complementary
#8D52D4 #D4CE52 #58D452
monochromatic
#512289 #6E2EBA #8D52D4 #AD83E0 #CEB4EC

Accessibility & contrast

On white

4.89
#8D52D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#8D52D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D52D4
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D52D4#FFFFFF#000000##FFFFFF
##8D52D41.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D8
Deuteranopia (green-blind)
#2770D1
Tritanopia (blue-blind)
#7E6E8B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8d52d4;
/* rgb */ color: rgb(141, 82, 212);
/* oklch */ color: oklch(56.9% 0.193 301.4);
Tailwind
colors: {
  custom: {
    50: '#b385e2',
    500: '#8d52d4',
    950: '#000000',
  },
}
SCSS
$custom: #8d52d4;
$custom-light: #b385e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d52d4",
  "rgb": {
    "r": 141,
    "g": 82,
    "b": 212
  },
  "hsl": {
    "h": 267.231,
    "s": 60.185,
    "l": 57.647
  },
  "oklch": {
    "l": 0.56948,
    "c": 0.19291,
    "h": 301.4
  },
  "luminance": 0.16451
}

Semantic roles & 50–950 ramp

primary
#8D52D4
secondary
#C3DBA7
accent
#E3449B
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8D52D4

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

Preview Lab → · Contrast checker → · Palette generator →

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