#D28FF4#D28FF4

#D28FF4 is a light, vivid violet. Relative luminance 0.399; OKLCH L 75.3% C 0.156 H 313.6°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#D28FF4
RGBrgb(210, 143, 244)
HSLhsl(280, 82%, 76%)
HSVhsv(280, 41%, 96%)
CMYKcmyk(13.9%, 41.4%, 0%, 4.3%)
CIE-LABlab(69.38, 42.80, -40.82)
CIE-LCHlch(69.38, 59.15, 316.36°)
OKLaboklab(75.34% 0.1075 -0.1129)
OKLCHoklch(75.34% 0.156 313.6)
XYZxyz(52.7273, 39.8793, 90.4903)
Luminance0.3988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D28FF4 #B1F48F
analogous
#9F8FF4 #D28FF4 #F48FE3
triadic
#D28FF4 #F4D28F #8FF4D2
tetradic
#D28FF4 #F49F8F #B1F48F #8FE3F4
square
#D28FF4 #F49F8F #B1F48F #8FE3F4
split-complementary
#D28FF4 #E3F48F #8FF49F
monochromatic
#A520E9 #BC57EF #D28FF4 #E8C7F9 #F4E3FC

Accessibility & contrast

On white

2.34
#D28FF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#D28FF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D28FF4
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D28FF4#FFFFFF#000000##000000
##D28FF41.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA6F8
Deuteranopia (green-blind)
#8DABF1
Tritanopia (blue-blind)
#CF9DB6
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d28ff4;
/* rgb */ color: rgb(210, 143, 244);
/* oklch */ color: oklch(75.3% 0.156 313.6);
Tailwind
colors: {
  custom: {
    50: '#e1b1f8',
    500: '#d28ff4',
    950: '#000000',
  },
}
SCSS
$custom: #d28ff4;
$custom-light: #e1b1f8;
$custom-dark: #000000;
JSON
{
  "hex": "#d28ff4",
  "rgb": {
    "r": 210,
    "g": 143,
    "b": 244
  },
  "hsl": {
    "h": 279.802,
    "s": 82.114,
    "l": 75.882
  },
  "oklch": {
    "l": 0.75344,
    "c": 0.15594,
    "h": 313.6
  },
  "luminance": 0.39878
}

Semantic roles & 50–950 ramp

primary
#D28FF4
secondary
#E1F4D7
accent
#DF0750
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #D28FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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