#8D52DB#8D52DB

#8D52DB is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.4% C 0.201 H 299.9°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#8D52DB
RGBrgb(141, 82, 219)
HSLhsl(266, 66%, 59%)
HSVhsv(266, 63%, 86%)
CMYKcmyk(35.6%, 62.6%, 0%, 14.1%)
CIE-LABlab(48.02, 51.85, -61.27)
CIE-LCHlch(48.02, 80.27, 310.24°)
OKLaboklab(57.43% 0.1001 -0.1742)
OKLCHoklch(57.43% 0.201 299.9)
XYZxyz(26.7849, 16.8115, 68.8379)
Luminance0.1681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D52DB #A0DB52
analogous
#525CDB #8D52DB #D152DB
triadic
#8D52DB #DB8D52 #52DB8D
tetradic
#8D52DB #DB525C #A0DB52 #52DBD1
square
#8D52DB #DB525C #A0DB52 #52DBD1
split-complementary
#8D52DB #DBD152 #5CDB52
monochromatic
#511F94 #6D29C6 #8D52DB #AE85E6 #D0B7F0

Accessibility & contrast

On white

4.81
#8D52DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#8D52DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D52DB
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D52DB#FFFFFF#000000##FFFFFF
##8D52DB1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DF
Deuteranopia (green-blind)
#1871D8
Tritanopia (blue-blind)
#7C708F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8d52db;
/* rgb */ color: rgb(141, 82, 219);
/* oklch */ color: oklch(57.4% 0.201 299.9);
Tailwind
colors: {
  custom: {
    50: '#b386e7',
    500: '#8d52db',
    950: '#000000',
  },
}
SCSS
$custom: #8d52db;
$custom-light: #b386e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d52db",
  "rgb": {
    "r": 141,
    "g": 82,
    "b": 219
  },
  "hsl": {
    "h": 265.839,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.57429,
    "c": 0.20091,
    "h": 299.9
  },
  "luminance": 0.16812
}

Semantic roles & 50–950 ramp

primary
#8D52DB
secondary
#C8DFAA
accent
#E93FA0
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8D52DB

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

Preview Lab → · Contrast checker → · Palette generator →

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