#D28AF9#D28AF9

#D28AF9 is a light, vivid violet. Relative luminance 0.387; OKLCH L 74.8% C 0.170 H 312.8°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#D28AF9
RGBrgb(210, 138, 249)
HSLhsl(279, 90%, 76%)
HSVhsv(279, 45%, 98%)
CMYKcmyk(15.7%, 44.6%, 0%, 2.4%)
CIE-LABlab(68.55, 46.50, -44.87)
CIE-LCHlch(68.55, 64.62, 316.02°)
OKLaboklab(74.79% 0.1153 -0.1246)
OKLCHoklch(74.79% 0.17 312.8)
XYZxyz(52.7628, 38.7193, 94.2982)
Luminance0.3872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D28AF9 #B1F98A
analogous
#9A8AF9 #D28AF9 #F98AE8
triadic
#D28AF9 #F9D28A #8AF9D2
tetradic
#D28AF9 #F99A8A #B1F98A #8AE8F9
square
#D28AF9 #F99A8A #B1F98A #8AE8F9
split-complementary
#D28AF9 #E8F98A #8AF99A
monochromatic
#A516F3 #BC50F6 #D28AF9 #E8C4FC #F4E2FE

Accessibility & contrast

On white

2.40
#D28AF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#D28AF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D28AF9
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D28AF9#FFFFFF#000000##000000
##D28AF91.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A3FD
Deuteranopia (green-blind)
#86A9F6
Tritanopia (blue-blind)
#CE9BB6
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d28af9;
/* rgb */ color: rgb(210, 138, 249);
/* oklch */ color: oklch(74.8% 0.170 312.8);
Tailwind
colors: {
  custom: {
    50: '#e2aefb',
    500: '#d28af9',
    950: '#000000',
  },
}
SCSS
$custom: #d28af9;
$custom-light: #e2aefb;
$custom-dark: #000000;
JSON
{
  "hex": "#d28af9",
  "rgb": {
    "r": 210,
    "g": 138,
    "b": 249
  },
  "hsl": {
    "h": 278.919,
    "s": 90.244,
    "l": 75.882
  },
  "oklch": {
    "l": 0.7479,
    "c": 0.16975,
    "h": 312.8
  },
  "luminance": 0.38718
}

Semantic roles & 50–950 ramp

primary
#D28AF9
secondary
#E1F6D5
accent
#E60051
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D28AF9

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

Preview Lab → · Contrast checker → · Palette generator →

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