#D28CED#D28CED

#D28CED is a light, vivid purple. Relative luminance 0.386; OKLCH L 74.5% C 0.153 H 316.1°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#D28CED
RGBrgb(210, 140, 237)
HSLhsl(283, 73%, 74%)
HSVhsv(283, 41%, 93%)
CMYKcmyk(11.4%, 40.9%, 0%, 7.1%)
CIE-LABlab(68.44, 42.97, -38.46)
CIE-LCHlch(68.44, 57.66, 318.17°)
OKLaboklab(74.54% 0.1105 -0.1061)
OKLCHoklch(74.54% 0.153 316.1)
XYZxyz(51.2402, 38.5736, 84.8506)
Luminance0.3857 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D28CED #A7ED8C
analogous
#A28CED #D28CED #ED8CD8
triadic
#D28CED #EDD28C #8CEDD2
tetradic
#D28CED #EDA28C #A7ED8C #8CD8ED
square
#D28CED #EDA28C #A7ED8C #8CD8ED
split-complementary
#D28CED #D8ED8C #8CEDA2
monochromatic
#A822DC #BD57E5 #D28CED #E7C1F5 #F5E5FB

Accessibility & contrast

On white

2.41
#D28CED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#D28CED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D28CED
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D28CED#FFFFFF#000000##000000
##D28CED1.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA3F1
Deuteranopia (green-blind)
#8EA9EA
Tritanopia (blue-blind)
#D199B1
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d28ced;
/* rgb */ color: rgb(210, 140, 237);
/* oklch */ color: oklch(74.5% 0.153 316.1);
Tailwind
colors: {
  custom: {
    50: '#e1aff3',
    500: '#d28ced',
    950: '#000000',
  },
}
SCSS
$custom: #d28ced;
$custom-light: #e1aff3;
$custom-dark: #000000;
JSON
{
  "hex": "#d28ced",
  "rgb": {
    "r": 210,
    "g": 140,
    "b": 237
  },
  "hsl": {
    "h": 283.299,
    "s": 72.932,
    "l": 73.922
  },
  "oklch": {
    "l": 0.74537,
    "c": 0.15317,
    "h": 316.1
  },
  "luminance": 0.38572
}

Semantic roles & 50–950 ramp

primary
#D28CED
secondary
#E0F3D8
accent
#D51047
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151017
muted
#837F85

Preview Lab

Preview with #D28CED

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

Preview Lab → · Contrast checker → · Palette generator →

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