#D28BF9#D28BF9

#D28BF9 is a light, vivid violet. Relative luminance 0.390; OKLCH L 74.9% C 0.168 H 312.7°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#D28BF9
RGBrgb(210, 139, 249)
HSLhsl(279, 90%, 76%)
HSVhsv(279, 44%, 98%)
CMYKcmyk(15.7%, 44.2%, 0%, 2.4%)
CIE-LABlab(68.76, 45.97, -44.54)
CIE-LCHlch(68.76, 64.01, 315.91°)
OKLaboklab(74.95% 0.1139 -0.1236)
OKLCHoklch(74.95% 0.168 312.7)
XYZxyz(52.9069, 39.0075, 94.3463)
Luminance0.3901 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D28BF9 #B2F98B
analogous
#9B8BF9 #D28BF9 #F98BE9
triadic
#D28BF9 #F9D28B #8BF9D2
tetradic
#D28BF9 #F99B8B #B2F98B #8BE9F9
square
#D28BF9 #F99B8B #B2F98B #8BE9F9
split-complementary
#D28BF9 #E9F98B #8BF99B
monochromatic
#A517F3 #BB51F6 #D28BF9 #E9C5FC #F4E2FD

Accessibility & contrast

On white

2.39
#D28BF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#D28BF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D28BF9
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D28BF9#FFFFFF#000000##000000
##D28BF91.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A4FD
Deuteranopia (green-blind)
#87A9F6
Tritanopia (blue-blind)
#CE9BB6
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d28bf9;
/* rgb */ color: rgb(210, 139, 249);
/* oklch */ color: oklch(74.9% 0.168 312.7);
Tailwind
colors: {
  custom: {
    50: '#e1aefb',
    500: '#d28bf9',
    950: '#000000',
  },
}
SCSS
$custom: #d28bf9;
$custom-light: #e1aefb;
$custom-dark: #000000;
JSON
{
  "hex": "#d28bf9",
  "rgb": {
    "r": 210,
    "g": 139,
    "b": 249
  },
  "hsl": {
    "h": 278.727,
    "s": 90.164,
    "l": 76.078
  },
  "oklch": {
    "l": 0.74947,
    "c": 0.16811,
    "h": 312.7
  },
  "luminance": 0.39006
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D28BF9

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

Preview Lab → · Contrast checker → · Palette generator →

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