#D28AF2#D28AF2

#D28AF2 is a light, vivid purple. Relative luminance 0.383; OKLCH L 74.5% C 0.162 H 314.8°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#D28AF2
RGBrgb(210, 138, 242)
HSLhsl(282, 80%, 75%)
HSVhsv(282, 43%, 95%)
CMYKcmyk(13.2%, 43%, 0%, 5.1%)
CIE-LABlab(68.23, 45.05, -41.53)
CIE-LCHlch(68.23, 61.27, 317.33°)
OKLaboklab(74.45% 0.1142 -0.1149)
OKLCHoklch(74.45% 0.162 314.8)
XYZxyz(51.6913, 38.2907, 88.6550)
Luminance0.3829 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D28AF2 #AAF28A
analogous
#9E8AF2 #D28AF2 #F28ADE
triadic
#D28AF2 #F2D28A #8AF2D2
tetradic
#D28AF2 #F29E8A #AAF28A #8ADEF2
square
#D28AF2 #F29E8A #AAF28A #8ADEF2
split-complementary
#D28AF2 #DEF28A #8AF29E
monochromatic
#A81CE6 #BD53EC #D28AF2 #E7C1F8 #F4E3FC

Accessibility & contrast

On white

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

On black

8.66
#D28AF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D28AF2
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D28AF2#FFFFFF#000000##000000
##D28AF21.002.438.668.66
#FFFFFF2.431.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A2F6
Deuteranopia (green-blind)
#8AA8EF
Tritanopia (blue-blind)
#D099B3
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d28af2;
/* rgb */ color: rgb(210, 138, 242);
/* oklch */ color: oklch(74.5% 0.162 314.8);
Tailwind
colors: {
  custom: {
    50: '#e1adf6',
    500: '#d28af2',
    950: '#000000',
  },
}
SCSS
$custom: #d28af2;
$custom-light: #e1adf6;
$custom-dark: #000000;
JSON
{
  "hex": "#d28af2",
  "rgb": {
    "r": 210,
    "g": 138,
    "b": 242
  },
  "hsl": {
    "h": 281.538,
    "s": 80,
    "l": 74.51
  },
  "oklch": {
    "l": 0.74453,
    "c": 0.162,
    "h": 314.8
  },
  "luminance": 0.38289
}

Semantic roles & 50–950 ramp

primary
#D28AF2
secondary
#E0F4D7
accent
#DC094A
background
#FEFAFF
surface
#FCF4FE
border
#D5CED6
text
#151017
muted
#847F85

Preview Lab

Preview with #D28AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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