#D28FFB#D28FFB

#D28FFB is a light, vivid violet. Relative luminance 0.403; OKLCH L 75.7% C 0.164 H 311.6°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#D28FFB
RGBrgb(210, 143, 251)
HSLhsl(277, 93%, 77%)
HSVhsv(277, 43%, 98%)
CMYKcmyk(16.3%, 43%, 0%, 1.6%)
CIE-LABlab(69.69, 44.27, -44.16)
CIE-LCHlch(69.69, 62.53, 315.07°)
OKLaboklab(75.68% 0.1087 -0.1226)
OKLCHoklch(75.68% 0.164 311.6)
XYZxyz(53.8103, 40.3126, 96.1945)
Luminance0.4031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D28FFB #B8FB8F
analogous
#9C8FFB #D28FFB #FB8FEE
triadic
#D28FFB #FBD28F #8FFBD2
tetradic
#D28FFB #FB9C8F #B8FB8F #8FEEFB
square
#D28FFB #FB9C8F #B8FB8F #8FEEFB
split-complementary
#D28FFB #EEFB8F #8FFB9C
monochromatic
#A319F7 #BA54F9 #D28FFB #EACAFD #F3E1FE

Accessibility & contrast

On white

2.32
#D28FFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#D28FFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D28FFB
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D28FFB#FFFFFF#000000##000000
##D28FFB1.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A7FF
Deuteranopia (green-blind)
#8AACF8
Tritanopia (blue-blind)
#CE9FB9
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d28ffb;
/* rgb */ color: rgb(210, 143, 251);
/* oklch */ color: oklch(75.7% 0.164 311.6);
Tailwind
colors: {
  custom: {
    50: '#e1b1fd',
    500: '#d28ffb',
    950: '#000000',
  },
}
SCSS
$custom: #d28ffb;
$custom-light: #e1b1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d28ffb",
  "rgb": {
    "r": 210,
    "g": 143,
    "b": 251
  },
  "hsl": {
    "h": 277.222,
    "s": 93.103,
    "l": 77.255
  },
  "oklch": {
    "l": 0.75676,
    "c": 0.16385,
    "h": 311.6
  },
  "luminance": 0.40312
}

Semantic roles & 50–950 ramp

primary
#D28FFB
secondary
#E1F6D5
accent
#E60057
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#151117
muted
#848085

Preview Lab

Preview with #D28FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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