#D28AF0#D28AF0

#D28AF0 is a light, vivid purple. Relative luminance 0.382; OKLCH L 74.4% C 0.160 H 315.4°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#D28AF0
RGBrgb(210, 138, 240)
HSLhsl(282, 77%, 74%)
HSVhsv(282, 43%, 94%)
CMYKcmyk(12.5%, 42.5%, 0%, 5.9%)
CIE-LABlab(68.15, 44.64, -40.57)
CIE-LCHlch(68.15, 60.32, 317.74°)
OKLaboklab(74.36% 0.1138 -0.1122)
OKLCHoklch(74.36% 0.16 315.4)
XYZxyz(51.3926, 38.1712, 87.0817)
Luminance0.3817 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D28AF0 #A8F08A
analogous
#9F8AF0 #D28AF0 #F08ADB
triadic
#D28AF0 #F0D28A #8AF0D2
tetradic
#D28AF0 #F09F8A #A8F08A #8ADBF0
square
#D28AF0 #F09F8A #A8F08A #8ADBF0
split-complementary
#D28AF0 #DBF08A #8AF09F
monochromatic
#A81EE2 #BD54E9 #D28AF0 #E7C0F7 #F5E4FC

Accessibility & contrast

On white

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

On black

8.63
#D28AF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D28AF0
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D28AF0#FFFFFF#000000##000000
##D28AF01.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A2F4
Deuteranopia (green-blind)
#8BA8ED
Tritanopia (blue-blind)
#D098B2
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d28af0;
/* rgb */ color: rgb(210, 138, 240);
/* oklch */ color: oklch(74.4% 0.160 315.4);
Tailwind
colors: {
  custom: {
    50: '#e1adf5',
    500: '#d28af0',
    950: '#000000',
  },
}
SCSS
$custom: #d28af0;
$custom-light: #e1adf5;
$custom-dark: #000000;
JSON
{
  "hex": "#d28af0",
  "rgb": {
    "r": 210,
    "g": 138,
    "b": 240
  },
  "hsl": {
    "h": 282.353,
    "s": 77.273,
    "l": 74.118
  },
  "oklch": {
    "l": 0.74359,
    "c": 0.1598,
    "h": 315.4
  },
  "luminance": 0.3817
}

Semantic roles & 50–950 ramp

primary
#D28AF0
secondary
#E0F3D8
accent
#DA0C48
background
#FEFAFF
surface
#FCF4FE
border
#D5CED6
text
#151017
muted
#847F85

Preview Lab

Preview with #D28AF0

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

Preview Lab → · Contrast checker → · Palette generator →

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