#D4C2FF#D4C2FF

#D4C2FF is a very light, moderate violet. Relative luminance 0.598; OKLCH L 84.9% C 0.086 H 298.1°. Best body text is #000000 at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#D4C2FF
RGBrgb(212, 194, 255)
HSLhsl(258, 100%, 88%)
HSVhsv(258, 24%, 100%)
CMYKcmyk(16.9%, 23.9%, 0%, 0%)
CIE-LABlab(81.73, 18.11, -27.66)
CIE-LCHlch(81.73, 33.06, 303.21°)
OKLaboklab(84.94% 0.0404 -0.0757)
OKLCHoklch(84.94% 0.086 298.1)
XYZxyz(64.4893, 59.8003, 102.7335)
Luminance0.5980 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C2FF #EDFFC2
analogous
#C2CEFF #D4C2FF #F2C2FF
triadic
#D4C2FF #FFD4C2 #C2FFD4
tetradic
#D4C2FF #FFC2CE #EDFFC2 #C2FFF2
square
#D4C2FF #FFC2CE #EDFFC2 #C2FFF2
split-complementary
#D4C2FF #FFF2C2 #CEFFC2
monochromatic
#7E48FF #A985FF #D4C2FF #E9E0FF #E9E0FF

Accessibility & contrast

On white

1.62
#D4C2FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.96
#D4C2FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C2FF
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C2FF#FFFFFF#000000##000000
##D4C2FF1.001.6212.9612.96
#FFFFFF1.621.0021.0021.00
#00000012.9621.001.001.00
##00000012.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5CBFF
Deuteranopia (green-blind)
#B8CBFD
Tritanopia (blue-blind)
#CCCBD7
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d4c2ff;
/* rgb */ color: rgb(212, 194, 255);
/* oklch */ color: oklch(84.9% 0.086 298.1);
Tailwind
colors: {
  custom: {
    50: '#e1d4ff',
    500: '#d4c2ff',
    950: '#000000',
  },
}
SCSS
$custom: #d4c2ff;
$custom-light: #e1d4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c2ff",
  "rgb": {
    "r": 212,
    "g": 194,
    "b": 255
  },
  "hsl": {
    "h": 257.705,
    "s": 100,
    "l": 88.039
  },
  "oklch": {
    "l": 0.84943,
    "c": 0.08579,
    "h": 298.1
  },
  "luminance": 0.59801
}

Semantic roles & 50–950 ramp

primary
#D4C2FF
secondary
#C9E87D
accent
#E600A2
background
#FEFEFF
surface
#FCFBFF
border
#D5D4D7
text
#151418
muted
#848386

Preview Lab

Preview with #D4C2FF

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

Preview Lab → · Contrast checker → · Palette generator →

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