#D28FFA#D28FFA

#D28FFA is a light, vivid violet. Relative luminance 0.402; OKLCH L 75.6% C 0.163 H 311.9°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#D28FFA
RGBrgb(210, 143, 250)
HSLhsl(278, 91%, 77%)
HSVhsv(278, 43%, 98%)
CMYKcmyk(16%, 42.8%, 0%, 2%)
CIE-LABlab(69.65, 44.06, -43.69)
CIE-LCHlch(69.65, 62.05, 315.24°)
OKLaboklab(75.63% 0.1086 -0.1212)
OKLCHoklch(75.63% 0.163 311.9)
XYZxyz(53.6531, 40.2497, 95.3665)
Luminance0.4025 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D28FFA #B7FA8F
analogous
#9D8FFA #D28FFA #FA8FED
triadic
#D28FFA #FAD28F #8FFAD2
tetradic
#D28FFA #FA9D8F #B7FA8F #8FEDFA
square
#D28FFA #FA9D8F #B7FA8F #8FEDFA
split-complementary
#D28FFA #EDFA8F #8FFA9D
monochromatic
#A31AF5 #BA54F7 #D28FFA #EACAFD #F3E2FE

Accessibility & contrast

On white

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

On black

9.05
#D28FFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D28FFA
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D28FFA#FFFFFF#000000##000000
##D28FFA1.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d28ffa;
/* rgb */ color: rgb(210, 143, 250);
/* oklch */ color: oklch(75.6% 0.163 311.9);
Tailwind
colors: {
  custom: {
    50: '#e1b1fc',
    500: '#d28ffa',
    950: '#000000',
  },
}
SCSS
$custom: #d28ffa;
$custom-light: #e1b1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d28ffa",
  "rgb": {
    "r": 210,
    "g": 143,
    "b": 250
  },
  "hsl": {
    "h": 277.57,
    "s": 91.453,
    "l": 77.059
  },
  "oklch": {
    "l": 0.75628,
    "c": 0.16272,
    "h": 311.9
  },
  "luminance": 0.40249
}

Semantic roles & 50–950 ramp

primary
#D28FFA
secondary
#E1F6D5
accent
#E60056
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#151117
muted
#848085

Preview Lab

Preview with #D28FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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