#D28BEC#D28BEC

#D28BEC is a light, vivid purple. Relative luminance 0.382; OKLCH L 74.3% C 0.154 H 316.6°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#D28BEC
RGBrgb(210, 139, 236)
HSLhsl(284, 72%, 74%)
HSVhsv(284, 41%, 93%)
CMYKcmyk(11%, 41.1%, 0%, 7.5%)
CIE-LABlab(68.19, 43.30, -38.31)
CIE-LCHlch(68.19, 57.81, 318.50°)
OKLaboklab(74.33% 0.1117 -0.1057)
OKLCHoklch(74.33% 0.154 316.6)
XYZxyz(50.9491, 38.2244, 84.0348)
Luminance0.3822 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D28BEC #A5EC8B
analogous
#A18BEC #D28BEC #EC8BD5
triadic
#D28BEC #ECD28B #8BECD2
tetradic
#D28BEC #ECA18B #A5EC8B #8BD5EC
square
#D28BEC #ECA18B #A5EC8B #8BD5EC
split-complementary
#D28BEC #D5EC8B #8BECA1
monochromatic
#A824D9 #BE56E3 #D28BEC #E6C0F5 #F5E5FB

Accessibility & contrast

On white

2.43
#D28BEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.64
#D28BEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D28BEC
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D28BEC#FFFFFF#000000##000000
##D28BEC1.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA2F0
Deuteranopia (green-blind)
#8DA8E9
Tritanopia (blue-blind)
#D198B0
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d28bec;
/* rgb */ color: rgb(210, 139, 236);
/* oklch */ color: oklch(74.3% 0.154 316.6);
Tailwind
colors: {
  custom: {
    50: '#e1aef2',
    500: '#d28bec',
    950: '#000000',
  },
}
SCSS
$custom: #d28bec;
$custom-light: #e1aef2;
$custom-dark: #000000;
JSON
{
  "hex": "#d28bec",
  "rgb": {
    "r": 210,
    "g": 139,
    "b": 236
  },
  "hsl": {
    "h": 283.918,
    "s": 71.852,
    "l": 73.529
  },
  "oklch": {
    "l": 0.74332,
    "c": 0.15375,
    "h": 316.6
  },
  "luminance": 0.38223
}

Semantic roles & 50–950 ramp

primary
#D28BEC
secondary
#E0F2D9
accent
#D41246
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #D28BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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