#D17CFF#D17CFF

#D17CFF is a light, vivid violet. Relative luminance 0.352; OKLCH L 72.9% C 0.198 H 312.4°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#D17CFF
RGBrgb(209, 124, 255)
HSLhsl(279, 100%, 74%)
HSVhsv(279, 51%, 100%)
CMYKcmyk(18%, 51.4%, 0%, 0%)
CIE-LABlab(65.90, 54.75, -52.33)
CIE-LCHlch(65.90, 75.74, 316.29°)
OKLaboklab(72.89% 0.1336 -0.1462)
OKLCHoklch(72.89% 0.198 312.4)
XYZxyz(51.5490, 35.1918, 98.6655)
Luminance0.3519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17CFF #AAFF7C
analogous
#907CFF #D17CFF #FF7CEC
triadic
#D17CFF #FFD17C #7CFFD1
tetradic
#D17CFF #FF907C #AAFF7C #7CECFF
square
#D17CFF #FF907C #AAFF7C #7CECFF
split-complementary
#D17CFF #ECFF7C #7CFF90
monochromatic
#A602FF #BC3FFF #D17CFF #E6B9FF #F4E0FF

Accessibility & contrast

On white

2.61
#D17CFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#D17CFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17CFF
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17CFF#FFFFFF#000000##000000
##D17CFF1.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B9CFF
Deuteranopia (green-blind)
#76A2FC
Tritanopia (blue-blind)
#CC91B2
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d17cff;
/* rgb */ color: rgb(209, 124, 255);
/* oklch */ color: oklch(72.9% 0.198 312.4);
Tailwind
colors: {
  custom: {
    50: '#e2a4ff',
    500: '#d17cff',
    950: '#000000',
  },
}
SCSS
$custom: #d17cff;
$custom-light: #e2a4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d17cff",
  "rgb": {
    "r": 209,
    "g": 124,
    "b": 255
  },
  "hsl": {
    "h": 278.931,
    "s": 100,
    "l": 74.314
  },
  "oklch": {
    "l": 0.7289,
    "c": 0.19805,
    "h": 312.4
  },
  "luminance": 0.35191
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D17CFF

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

Preview Lab → · Contrast checker → · Palette generator →

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