#D9C2FF#D9C2FF

#D9C2FF is a very light, moderate violet. Relative luminance 0.606; OKLCH L 85.4% C 0.087 H 301.8°. Best body text is #000000 at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#D9C2FF
RGBrgb(217, 194, 255)
HSLhsl(263, 100%, 88%)
HSVhsv(263, 24%, 100%)
CMYKcmyk(14.9%, 23.9%, 0%, 0%)
CIE-LABlab(82.14, 19.65, -27.00)
CIE-LCHlch(82.14, 33.39, 306.04°)
OKLaboklab(85.36% 0.0458 -0.0738)
OKLCHoklch(85.36% 0.087 301.8)
XYZxyz(65.9534, 60.5553, 102.8021)
Luminance0.6056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C2FF #E8FFC2
analogous
#C2C9FF #D9C2FF #F7C2FF
triadic
#D9C2FF #FFD9C2 #C2FFD9
tetradic
#D9C2FF #FFC2C9 #E8FFC2 #C2FFF7
square
#D9C2FF #FFC2C9 #E8FFC2 #C2FFF7
split-complementary
#D9C2FF #FFF7C2 #C9FFC2
monochromatic
#8D48FF #B385FF #D9C2FF #ECE0FF #ECE0FF

Accessibility & contrast

On white

1.60
#D9C2FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.11
#D9C2FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C2FF
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C2FF#FFFFFF#000000##000000
##D9C2FF1.001.6013.1113.11
#FFFFFF1.601.0021.0021.00
#00000013.1121.001.001.00
##00000013.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6CCFF
Deuteranopia (green-blind)
#BACCFD
Tritanopia (blue-blind)
#D3CBD7
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d9c2ff;
/* rgb */ color: rgb(217, 194, 255);
/* oklch */ color: oklch(85.4% 0.087 301.8);
Tailwind
colors: {
  custom: {
    50: '#e5d4ff',
    500: '#d9c2ff',
    950: '#000000',
  },
}
SCSS
$custom: #d9c2ff;
$custom-light: #e5d4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c2ff",
  "rgb": {
    "r": 217,
    "g": 194,
    "b": 255
  },
  "hsl": {
    "h": 262.623,
    "s": 100,
    "l": 88.039
  },
  "oklch": {
    "l": 0.85358,
    "c": 0.08682,
    "h": 301.8
  },
  "luminance": 0.60555
}

Semantic roles & 50–950 ramp

primary
#D9C2FF
secondary
#C0E87D
accent
#E6008F
background
#FEFEFF
surface
#FCFBFF
border
#D5D4D7
text
#161418
muted
#848386

Preview Lab

Preview with #D9C2FF

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

Preview Lab → · Contrast checker → · Palette generator →

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