#D58DF2#D58DF2

#D58DF2 is a light, vivid purple. Relative luminance 0.396; OKLCH L 75.2% C 0.158 H 315.7°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#D58DF2
RGBrgb(213, 141, 242)
HSLhsl(283, 80%, 75%)
HSVhsv(283, 42%, 95%)
CMYKcmyk(12%, 41.7%, 0%, 5.1%)
CIE-LABlab(69.19, 44.32, -40.01)
CIE-LCHlch(69.19, 59.71, 317.93°)
OKLaboklab(75.24% 0.1134 -0.1105)
OKLCHoklch(75.24% 0.158 315.7)
XYZxyz(52.9900, 39.6080, 88.8409)
Luminance0.3961 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D58DF2 #AAF28D
analogous
#A28DF2 #D58DF2 #F28DDD
triadic
#D58DF2 #F2D58D #8DF2D5
tetradic
#D58DF2 #F2A28D #AAF28D #8DDDF2
square
#D58DF2 #F2A28D #AAF28D #8DDDF2
split-complementary
#D58DF2 #DDF28D #8DF2A2
monochromatic
#AD1FE5 #C156EC #D58DF2 #E9C4F8 #F5E4FC

Accessibility & contrast

On white

2.35
#D58DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#D58DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D58DF2
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D58DF2#FFFFFF#000000##000000
##D58DF21.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA4F6
Deuteranopia (green-blind)
#8EABEF
Tritanopia (blue-blind)
#D49BB4
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d58df2;
/* rgb */ color: rgb(213, 141, 242);
/* oklch */ color: oklch(75.2% 0.158 315.7);
Tailwind
colors: {
  custom: {
    50: '#e3b0f6',
    500: '#d58df2',
    950: '#000000',
  },
}
SCSS
$custom: #d58df2;
$custom-light: #e3b0f6;
$custom-dark: #000000;
JSON
{
  "hex": "#d58df2",
  "rgb": {
    "r": 213,
    "g": 141,
    "b": 242
  },
  "hsl": {
    "h": 282.772,
    "s": 79.528,
    "l": 75.098
  },
  "oklch": {
    "l": 0.75241,
    "c": 0.15837,
    "h": 315.7
  },
  "luminance": 0.39607
}

Semantic roles & 50–950 ramp

primary
#D58DF2
secondary
#DFF4D7
accent
#DC0A46
background
#FEFAFF
surface
#FCF5FE
border
#D5CFD6
text
#161017
muted
#847F85

Preview Lab

Preview with #D58DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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