#D28CD3#D28CD3

#D28CD3 is a light, vivid purple. Relative luminance 0.372; OKLCH L 73.4% C 0.126 H 326.3°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#D28CD3
RGBrgb(210, 140, 211)
HSLhsl(299, 45%, 69%)
HSVhsv(299, 34%, 83%)
CMYKcmyk(0.5%, 33.6%, 0%, 17.3%)
CIE-LABlab(67.40, 37.90, -25.70)
CIE-LCHlch(67.40, 45.79, 325.85°)
OKLaboklab(73.41% 0.1046 -0.0698)
OKLCHoklch(73.41% 0.126 326.3)
XYZxyz(47.7132, 37.1628, 66.2752)
Luminance0.3716 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D28CD3 #8DD38C
analogous
#AF8CD3 #D28CD3 #D38CB1
triadic
#D28CD3 #D3D28C #8CD3D2
tetradic
#D28CD3 #D3AF8C #8DD38C #8CB1D3
square
#D28CD3 #D3AF8C #8DD38C #8CB1D3
split-complementary
#D28CD3 #B1D38C #8CD3AF
monochromatic
#A43FA5 #C160C2 #D28CD3 #E3B8E4 #F5E5F5

Accessibility & contrast

On white

2.49
#D28CD3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#D28CD3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D28CD3
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D28CD3#FFFFFF#000000##000000
##D28CD31.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#879FD6
Deuteranopia (green-blind)
#98A7D1
Tritanopia (blue-blind)
#D693A6
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d28cd3;
/* rgb */ color: rgb(210, 140, 211);
/* oklch */ color: oklch(73.4% 0.126 326.3);
Tailwind
colors: {
  custom: {
    50: '#e1afe0',
    500: '#d28cd3',
    950: '#000000',
  },
}
SCSS
$custom: #d28cd3;
$custom-light: #e1afe0;
$custom-dark: #000000;
JSON
{
  "hex": "#d28cd3",
  "rgb": {
    "r": 210,
    "g": 140,
    "b": 211
  },
  "hsl": {
    "h": 299.155,
    "s": 44.654,
    "l": 68.824
  },
  "oklch": {
    "l": 0.73409,
    "c": 0.1258,
    "h": 326.3
  },
  "luminance": 0.37161
}

Semantic roles & 50–950 ramp

primary
#D28CD3
secondary
#D3E8D3
accent
#B82E30
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #D28CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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