#D58DF7#D58DF7

#D58DF7 is a light, vivid purple. Relative luminance 0.399; OKLCH L 75.5% C 0.164 H 314.2°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#D58DF7
RGBrgb(213, 141, 247)
HSLhsl(281, 87%, 76%)
HSVhsv(281, 43%, 97%)
CMYKcmyk(13.8%, 42.9%, 0%, 3.1%)
CIE-LABlab(69.41, 45.34, -42.40)
CIE-LCHlch(69.41, 62.08, 316.92°)
OKLaboklab(75.48% 0.1143 -0.1174)
OKLCHoklch(75.48% 0.164 314.2)
XYZxyz(53.7513, 39.9125, 92.8500)
Luminance0.3991 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D58DF7 #AFF78D
analogous
#A08DF7 #D58DF7 #F78DE4
triadic
#D58DF7 #F7D58D #8DF7D5
tetradic
#D58DF7 #F7A08D #AFF78D #8DE4F7
square
#D58DF7 #F7A08D #AFF78D #8DE4F7
split-complementary
#D58DF7 #E4F78D #8DF7A0
monochromatic
#AB1BEF #C054F3 #D58DF7 #EAC6FB #F4E2FD

Accessibility & contrast

On white

2.34
#D58DF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#D58DF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D58DF7
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D58DF7#FFFFFF#000000##000000
##D58DF71.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A5FB
Deuteranopia (green-blind)
#8CABF4
Tritanopia (blue-blind)
#D39CB6
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d58df7;
/* rgb */ color: rgb(213, 141, 247);
/* oklch */ color: oklch(75.5% 0.164 314.2);
Tailwind
colors: {
  custom: {
    50: '#e3b0fa',
    500: '#d58df7',
    950: '#000000',
  },
}
SCSS
$custom: #d58df7;
$custom-light: #e3b0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d58df7",
  "rgb": {
    "r": 213,
    "g": 141,
    "b": 247
  },
  "hsl": {
    "h": 280.755,
    "s": 86.885,
    "l": 76.078
  },
  "oklch": {
    "l": 0.75476,
    "c": 0.16387,
    "h": 314.2
  },
  "luminance": 0.39911
}

Semantic roles & 50–950 ramp

primary
#D58DF7
secondary
#E0F5D6
accent
#E3024A
background
#FEFAFF
surface
#FCF5FF
border
#D5CFD7
text
#161017
muted
#847F85

Preview Lab

Preview with #D58DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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