#D17CFD#D17CFD

#D17CFD is a light, vivid violet. Relative luminance 0.351; OKLCH L 72.8% C 0.196 H 312.9°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#D17CFD
RGBrgb(209, 124, 253)
HSLhsl(280, 97%, 74%)
HSVhsv(280, 51%, 99%)
CMYKcmyk(17.4%, 51%, 0%, 0.8%)
CIE-LABlab(65.80, 54.33, -51.40)
CIE-LCHlch(65.80, 74.79, 316.59°)
OKLaboklab(72.78% 0.1334 -0.1435)
OKLCHoklch(72.78% 0.196 312.9)
XYZxyz(51.2287, 35.0637, 96.9788)
Luminance0.3506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17CFD #A8FD7C
analogous
#917CFD #D17CFD #FD7CE8
triadic
#D17CFD #FDD17C #7CFDD1
tetradic
#D17CFD #FD917C #A8FD7C #7CE8FD
square
#D17CFD #FD917C #A8FD7C #7CE8FD
split-complementary
#D17CFD #E8FD7C #7CFD91
monochromatic
#A704FB #BC40FC #D17CFD #E6B8FE #F4E1FF

Accessibility & contrast

On white

2.62
#D17CFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#D17CFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17CFD
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17CFD#FFFFFF#000000##000000
##D17CFD1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C9BFF
Deuteranopia (green-blind)
#77A2FA
Tritanopia (blue-blind)
#CD91B1
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d17cfd;
/* rgb */ color: rgb(209, 124, 253);
/* oklch */ color: oklch(72.8% 0.196 312.9);
Tailwind
colors: {
  custom: {
    50: '#e2a4fe',
    500: '#d17cfd',
    950: '#000000',
  },
}
SCSS
$custom: #d17cfd;
$custom-light: #e2a4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d17cfd",
  "rgb": {
    "r": 209,
    "g": 124,
    "b": 253
  },
  "hsl": {
    "h": 279.535,
    "s": 96.992,
    "l": 73.922
  },
  "oklch": {
    "l": 0.72784,
    "c": 0.19592,
    "h": 312.9
  },
  "luminance": 0.35062
}

Semantic roles & 50–950 ramp

primary
#D17CFD
secondary
#E0F7D4
accent
#E6004E
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D17CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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