#D28CFD#D28CFD

#D28CFD is a light, vivid violet. Relative luminance 0.396; OKLCH L 75.3% C 0.171 H 311.4°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#D28CFD
RGBrgb(210, 140, 253)
HSLhsl(277, 97%, 77%)
HSVhsv(277, 45%, 99%)
CMYKcmyk(17%, 44.7%, 0%, 0.8%)
CIE-LABlab(69.15, 46.29, -46.11)
CIE-LCHlch(69.15, 65.33, 315.11°)
OKLaboklab(75.3% 0.1132 -0.1282)
OKLCHoklch(75.3% 0.171 311.4)
XYZxyz(53.6829, 39.5506, 97.7155)
Luminance0.3955 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D28CFD #B7FD8C
analogous
#9A8CFD #D28CFD #FD8CF0
triadic
#D28CFD #FDD28C #8CFDD2
tetradic
#D28CFD #FD9A8C #B7FD8C #8CF0FD
square
#D28CFD #FD9A8C #B7FD8C #8CF0FD
split-complementary
#D28CFD #F0FD8C #8CFD9A
monochromatic
#A314FB #BA50FC #D28CFD #EAC8FE #F3E1FE

Accessibility & contrast

On white

2.36
#D28CFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#D28CFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D28CFD
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D28CFD#FFFFFF#000000##000000
##D28CFD1.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A5FF
Deuteranopia (green-blind)
#86AAFA
Tritanopia (blue-blind)
#CD9DB9
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d28cfd;
/* rgb */ color: rgb(210, 140, 253);
/* oklch */ color: oklch(75.3% 0.171 311.4);
Tailwind
colors: {
  custom: {
    50: '#e2affe',
    500: '#d28cfd',
    950: '#000000',
  },
}
SCSS
$custom: #d28cfd;
$custom-light: #e2affe;
$custom-dark: #000000;
JSON
{
  "hex": "#d28cfd",
  "rgb": {
    "r": 210,
    "g": 140,
    "b": 253
  },
  "hsl": {
    "h": 277.168,
    "s": 96.581,
    "l": 77.059
  },
  "oklch": {
    "l": 0.75299,
    "c": 0.17098,
    "h": 311.4
  },
  "luminance": 0.3955
}

Semantic roles & 50–950 ramp

primary
#D28CFD
secondary
#E1F7D4
accent
#E60057
background
#FEFAFF
surface
#FCF5FF
border
#D5CFD7
text
#161018
muted
#847F86

Preview Lab

Preview with #D28CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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