#D28EFA#D28EFA

#D28EFA is a light, vivid violet. Relative luminance 0.400; OKLCH L 75.5% C 0.164 H 312.0°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#D28EFA
RGBrgb(210, 142, 250)
HSLhsl(278, 92%, 77%)
HSVhsv(278, 43%, 98%)
CMYKcmyk(16%, 43.2%, 0%, 2%)
CIE-LABlab(69.43, 44.59, -44.02)
CIE-LCHlch(69.43, 62.66, 315.37°)
OKLaboklab(75.47% 0.11 -0.1221)
OKLCHoklch(75.47% 0.164 312)
XYZxyz(53.5037, 39.9508, 95.3167)
Luminance0.3995 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D28EFA #B6FA8E
analogous
#9C8EFA #D28EFA #FA8EEC
triadic
#D28EFA #FAD28E #8EFAD2
tetradic
#D28EFA #FA9C8E #B6FA8E #8EECFA
square
#D28EFA #FA9C8E #B6FA8E #8EECFA
split-complementary
#D28EFA #ECFA8E #8EFA9C
monochromatic
#A319F5 #BB53F7 #D28EFA #E9C9FD #F3E2FE

Accessibility & contrast

On white

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

On black

8.99
#D28EFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D28EFA
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D28EFA#FFFFFF#000000##000000
##D28EFA1.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A6FE
Deuteranopia (green-blind)
#89ABF7
Tritanopia (blue-blind)
#CE9EB8
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d28efa;
/* rgb */ color: rgb(210, 142, 250);
/* oklch */ color: oklch(75.5% 0.164 312.0);
Tailwind
colors: {
  custom: {
    50: '#e1b0fc',
    500: '#d28efa',
    950: '#000000',
  },
}
SCSS
$custom: #d28efa;
$custom-light: #e1b0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d28efa",
  "rgb": {
    "r": 210,
    "g": 142,
    "b": 250
  },
  "hsl": {
    "h": 277.778,
    "s": 91.525,
    "l": 76.863
  },
  "oklch": {
    "l": 0.75469,
    "c": 0.16435,
    "h": 312
  },
  "luminance": 0.3995
}

Semantic roles & 50–950 ramp

primary
#D28EFA
secondary
#E1F6D5
accent
#E60055
background
#FEFAFF
surface
#FCF5FF
border
#D5CFD7
text
#151117
muted
#848085

Preview Lab

Preview with #D28EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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