#D28AF3#D28AF3

#D28AF3 is a light, vivid purple. Relative luminance 0.384; OKLCH L 74.5% C 0.163 H 314.5°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#D28AF3
RGBrgb(210, 138, 243)
HSLhsl(281, 81%, 75%)
HSVhsv(281, 43%, 95%)
CMYKcmyk(13.6%, 43.2%, 0%, 4.7%)
CIE-LABlab(68.28, 45.25, -42.01)
CIE-LCHlch(68.28, 61.74, 317.13°)
OKLaboklab(74.5% 0.1143 -0.1163)
OKLCHoklch(74.5% 0.163 314.5)
XYZxyz(51.8419, 38.3509, 89.4482)
Luminance0.3835 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D28AF3 #ABF38A
analogous
#9E8AF3 #D28AF3 #F38ADF
triadic
#D28AF3 #F3D28A #8AF3D2
tetradic
#D28AF3 #F39E8A #ABF38A #8ADFF3
square
#D28AF3 #F39E8A #ABF38A #8ADFF3
split-complementary
#D28AF3 #DFF38A #8AF39E
monochromatic
#A71BE8 #BD52ED #D28AF3 #E7C2F9 #F4E3FC

Accessibility & contrast

On white

2.42
#D28AF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.67
#D28AF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D28AF3
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D28AF3#FFFFFF#000000##000000
##D28AF31.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A2F7
Deuteranopia (green-blind)
#89A8F0
Tritanopia (blue-blind)
#D099B3
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d28af3;
/* rgb */ color: rgb(210, 138, 243);
/* oklch */ color: oklch(74.5% 0.163 314.5);
Tailwind
colors: {
  custom: {
    50: '#e1adf7',
    500: '#d28af3',
    950: '#000000',
  },
}
SCSS
$custom: #d28af3;
$custom-light: #e1adf7;
$custom-dark: #000000;
JSON
{
  "hex": "#d28af3",
  "rgb": {
    "r": 210,
    "g": 138,
    "b": 243
  },
  "hsl": {
    "h": 281.143,
    "s": 81.395,
    "l": 74.706
  },
  "oklch": {
    "l": 0.74501,
    "c": 0.16309,
    "h": 314.5
  },
  "luminance": 0.3835
}

Semantic roles & 50–950 ramp

primary
#D28AF3
secondary
#E0F4D7
accent
#DE084B
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#151017
muted
#847F85

Preview Lab

Preview with #D28AF3

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

Preview Lab → · Contrast checker → · Palette generator →

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