#D28CFA#D28CFA

#D28CFA is a light, vivid violet. Relative luminance 0.394; OKLCH L 75.2% C 0.168 H 312.3°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#D28CFA
RGBrgb(210, 140, 250)
HSLhsl(278, 92%, 76%)
HSVhsv(278, 44%, 98%)
CMYKcmyk(16%, 44%, 0%, 2%)
CIE-LABlab(69.01, 45.65, -44.68)
CIE-LCHlch(69.01, 63.88, 315.61°)
OKLaboklab(75.15% 0.1127 -0.1241)
OKLCHoklch(75.15% 0.168 312.3)
XYZxyz(53.2088, 39.3610, 95.2184)
Luminance0.3936 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D28CFA #B4FA8C
analogous
#9B8CFA #D28CFA #FA8CEB
triadic
#D28CFA #FAD28C #8CFAD2
tetradic
#D28CFA #FA9B8C #B4FA8C #8CEBFA
square
#D28CFA #FA9B8C #B4FA8C #8CEBFA
split-complementary
#D28CFA #EBFA8C #8CFA9B
monochromatic
#A417F5 #BB51F7 #D28CFA #E9C7FD #F4E2FE

Accessibility & contrast

On white

2.37
#D28CFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#D28CFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D28CFA
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D28CFA#FFFFFF#000000##000000
##D28CFA1.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A5FE
Deuteranopia (green-blind)
#88AAF7
Tritanopia (blue-blind)
#CE9CB7
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d28cfa;
/* rgb */ color: rgb(210, 140, 250);
/* oklch */ color: oklch(75.2% 0.168 312.3);
Tailwind
colors: {
  custom: {
    50: '#e1affc',
    500: '#d28cfa',
    950: '#000000',
  },
}
SCSS
$custom: #d28cfa;
$custom-light: #e1affc;
$custom-dark: #000000;
JSON
{
  "hex": "#d28cfa",
  "rgb": {
    "r": 210,
    "g": 140,
    "b": 250
  },
  "hsl": {
    "h": 278.182,
    "s": 91.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.75152,
    "c": 0.16761,
    "h": 312.3
  },
  "luminance": 0.3936
}

Semantic roles & 50–950 ramp

primary
#D28CFA
secondary
#E1F6D5
accent
#E60053
background
#FEFAFF
surface
#FCF5FF
border
#D5CFD7
text
#151017
muted
#847F85

Preview Lab

Preview with #D28CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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