#D58DEB#D58DEB

#D58DEB is a light, vivid purple. Relative luminance 0.392; OKLCH L 74.9% C 0.151 H 318.0°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#D58DEB
RGBrgb(213, 141, 235)
HSLhsl(286, 70%, 74%)
HSVhsv(286, 40%, 92%)
CMYKcmyk(9.4%, 40%, 0%, 7.8%)
CIE-LABlab(68.89, 42.91, -36.63)
CIE-LCHlch(68.89, 56.42, 319.52°)
OKLaboklab(74.92% 0.1121 -0.1008)
OKLCHoklch(74.92% 0.151 318)
XYZxyz(51.9588, 39.1955, 83.4096)
Luminance0.3919 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D58DEB #A3EB8D
analogous
#A68DEB #D58DEB #EB8DD2
triadic
#D58DEB #EBD58D #8DEBD5
tetradic
#D58DEB #EBA68D #A3EB8D #8DD2EB
square
#D58DEB #EBA68D #A3EB8D #8DD2EB
split-complementary
#D58DEB #D2EB8D #8DEBA6
monochromatic
#AE26D8 #C259E2 #D58DEB #E8C1F4 #F5E5FA

Accessibility & contrast

On white

2.38
#D58DEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#D58DEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D58DEB
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D58DEB#FFFFFF#000000##000000
##D58DEB1.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA3EE
Deuteranopia (green-blind)
#91ABE8
Tritanopia (blue-blind)
#D599B1
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d58deb;
/* rgb */ color: rgb(213, 141, 235);
/* oklch */ color: oklch(74.9% 0.151 318.0);
Tailwind
colors: {
  custom: {
    50: '#e3b0f1',
    500: '#d58deb',
    950: '#000000',
  },
}
SCSS
$custom: #d58deb;
$custom-light: #e3b0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d58deb",
  "rgb": {
    "r": 213,
    "g": 141,
    "b": 235
  },
  "hsl": {
    "h": 285.957,
    "s": 70.149,
    "l": 73.725
  },
  "oklch": {
    "l": 0.74921,
    "c": 0.15077,
    "h": 318
  },
  "luminance": 0.39194
}

Semantic roles & 50–950 ramp

primary
#D58DEB
secondary
#DFF2D9
accent
#D21340
background
#FEFAFE
surface
#FCF5FD
border
#D5CFD5
text
#161017
muted
#847F85

Preview Lab

Preview with #D58DEB

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

Preview Lab → · Contrast checker → · Palette generator →

#D58DEB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva