#D58DEC#D58DEC

#D58DEC is a light, vivid purple. Relative luminance 0.393; OKLCH L 75.0% C 0.152 H 317.7°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#D58DEC
RGBrgb(213, 141, 236)
HSLhsl(285, 71%, 74%)
HSVhsv(285, 40%, 93%)
CMYKcmyk(9.7%, 40.3%, 0%, 7.5%)
CIE-LABlab(68.93, 43.11, -37.12)
CIE-LCHlch(68.93, 56.89, 319.27°)
OKLaboklab(74.97% 0.1123 -0.1022)
OKLCHoklch(74.97% 0.152 317.7)
XYZxyz(52.1036, 39.2535, 84.1726)
Luminance0.3925 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D58DEC #A4EC8D
analogous
#A68DEC #D58DEC #EC8DD4
triadic
#D58DEC #ECD58D #8DECD5
tetradic
#D58DEC #ECA68D #A4EC8D #8DD4EC
square
#D58DEC #ECA68D #A4EC8D #8DD4EC
split-complementary
#D58DEC #D4EC8D #8DECA6
monochromatic
#AE24DA #C259E3 #D58DEC #E8C1F5 #F5E5FB

Accessibility & contrast

On white

2.37
#D58DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#D58DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D58DEC
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D58DEC#FFFFFF#000000##000000
##D58DEC1.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d58dec;
/* rgb */ color: rgb(213, 141, 236);
/* oklch */ color: oklch(75.0% 0.152 317.7);
Tailwind
colors: {
  custom: {
    50: '#e3b0f2',
    500: '#d58dec',
    950: '#000000',
  },
}
SCSS
$custom: #d58dec;
$custom-light: #e3b0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d58dec",
  "rgb": {
    "r": 213,
    "g": 141,
    "b": 236
  },
  "hsl": {
    "h": 285.474,
    "s": 71.429,
    "l": 73.922
  },
  "oklch": {
    "l": 0.74966,
    "c": 0.15185,
    "h": 317.7
  },
  "luminance": 0.39252
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D58DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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