#8D52DF#8D52DF

#8D52DF is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.7% C 0.205 H 299.1°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#8D52DF
RGBrgb(141, 82, 223)
HSLhsl(265, 69%, 60%)
HSVhsv(265, 63%, 87%)
CMYKcmyk(36.8%, 63.2%, 0%, 12.5%)
CIE-LABlab(48.29, 52.85, -63.11)
CIE-LCHlch(48.29, 82.32, 309.95°)
OKLaboklab(57.71% 0.0998 -0.1796)
OKLCHoklch(57.71% 0.205 299.1)
XYZxyz(27.3178, 17.0247, 71.6446)
Luminance0.1703 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D52DF #A4DF52
analogous
#525EDF #8D52DF #D352DF
triadic
#8D52DF #DF8D52 #52DF8D
tetradic
#8D52DF #DF525E #A4DF52 #52DFD3
square
#8D52DF #DF525E #A4DF52 #52DFD3
split-complementary
#8D52DF #DFD352 #5EDF52
monochromatic
#511D9A #6C26CE #8D52DF #AF86E9 #D1B9F2

Accessibility & contrast

On white

4.77
#8D52DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#8D52DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D52DF
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D52DF#FFFFFF#000000##FFFFFF
##8D52DF1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E3
Deuteranopia (green-blind)
#0771DC
Tritanopia (blue-blind)
#7A7191
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8d52df;
/* rgb */ color: rgb(141, 82, 223);
/* oklch */ color: oklch(57.7% 0.205 299.1);
Tailwind
colors: {
  custom: {
    50: '#b486ea',
    500: '#8d52df',
    950: '#000000',
  },
}
SCSS
$custom: #8d52df;
$custom-light: #b486ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8d52df",
  "rgb": {
    "r": 141,
    "g": 82,
    "b": 223
  },
  "hsl": {
    "h": 265.106,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.5771,
    "c": 0.20547,
    "h": 299.1
  },
  "luminance": 0.17025
}

Semantic roles & 50–950 ramp

primary
#8D52DF
secondary
#CBE2AB
accent
#EC3CA2
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8D52DF

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

Preview Lab → · Contrast checker → · Palette generator →

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