#D2C2FF#D2C2FF

#D2C2FF is a very light, moderate violet. Relative luminance 0.595; OKLCH L 84.8% C 0.085 H 296.6°. Best body text is #000000 at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#D2C2FF
RGBrgb(210, 194, 255)
HSLhsl(256, 100%, 88%)
HSVhsv(256, 24%, 100%)
CMYKcmyk(17.6%, 23.9%, 0%, 0%)
CIE-LABlab(81.57, 17.50, -27.92)
CIE-LCHlch(81.57, 32.95, 302.08°)
OKLaboklab(84.78% 0.0382 -0.0764)
OKLCHoklch(84.78% 0.085 296.6)
XYZxyz(63.9162, 59.5048, 102.7066)
Luminance0.5950 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C2FF #EFFFC2
analogous
#C2D0FF #D2C2FF #F1C2FF
triadic
#D2C2FF #FFD2C2 #C2FFD2
tetradic
#D2C2FF #FFC2D0 #EFFFC2 #C2FFF1
square
#D2C2FF #FFC2D0 #EFFFC2 #C2FFF1
split-complementary
#D2C2FF #FFF1C2 #D0FFC2
monochromatic
#7848FF #A585FF #D2C2FF #E8E0FF #E8E0FF

Accessibility & contrast

On white

1.63
#D2C2FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.90
#D2C2FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C2FF
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C2FF#FFFFFF#000000##000000
##D2C2FF1.001.6312.9012.90
#FFFFFF1.631.0021.0021.00
#00000012.9021.001.001.00
##00000012.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2c2ff;
/* rgb */ color: rgb(210, 194, 255);
/* oklch */ color: oklch(84.8% 0.085 296.6);
Tailwind
colors: {
  custom: {
    50: '#e0d4ff',
    500: '#d2c2ff',
    950: '#000000',
  },
}
SCSS
$custom: #d2c2ff;
$custom-light: #e0d4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c2ff",
  "rgb": {
    "r": 210,
    "g": 194,
    "b": 255
  },
  "hsl": {
    "h": 255.738,
    "s": 100,
    "l": 88.039
  },
  "oklch": {
    "l": 0.8478,
    "c": 0.08547,
    "h": 296.6
  },
  "luminance": 0.59505
}

Semantic roles & 50–950 ramp

primary
#D2C2FF
secondary
#CCE87D
accent
#E600A9
background
#FEFEFF
surface
#FCFBFF
border
#D5D4D7
text
#151418
muted
#848386

Preview Lab

Preview with #D2C2FF

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

Preview Lab → · Contrast checker → · Palette generator →

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