#D2C8FA#D2C8FA

#D2C8FA is a very light, moderate violet. Relative luminance 0.619; OKLCH L 85.7% C 0.069 H 294.1°. Best body text is #000000 at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#D2C8FA
RGBrgb(210, 200, 250)
HSLhsl(252, 83%, 88%)
HSVhsv(252, 20%, 98%)
CMYKcmyk(16%, 20%, 0%, 2%)
CIE-LABlab(82.87, 13.20, -23.28)
CIE-LCHlch(82.87, 26.76, 299.55°)
OKLaboklab(85.73% 0.0283 -0.0635)
OKLCHoklch(85.73% 0.069 294.1)
XYZxyz(64.4842, 61.9119, 98.9769)
Luminance0.6191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C8FA #F0FAC8
analogous
#C8D7FA #D2C8FA #EBC8FA
triadic
#D2C8FA #FAD2C8 #C8FAD2
tetradic
#D2C8FA #FAC8D7 #F0FAC8 #C8FAEB
square
#D2C8FA #FAC8D7 #F0FAC8 #C8FAEB
split-complementary
#D2C8FA #FAEBC8 #D7FAC8
monochromatic
#7658F0 #A490F5 #D2C8FA #E8E3FC #E8E3FC

Accessibility & contrast

On white

1.57
#D2C8FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.38
#D2C8FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C8FA
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C8FA#FFFFFF#000000##000000
##D2C8FA1.001.5713.3813.38
#FFFFFF1.571.0021.0021.00
#00000013.3821.001.001.00
##00000013.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDCFFC
Deuteranopia (green-blind)
#BECEF9
Tritanopia (blue-blind)
#CBD0D9
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d2c8fa;
/* rgb */ color: rgb(210, 200, 250);
/* oklch */ color: oklch(85.7% 0.069 294.1);
Tailwind
colors: {
  custom: {
    50: '#e0d8fc',
    500: '#d2c8fa',
    950: '#000000',
  },
}
SCSS
$custom: #d2c8fa;
$custom-light: #e0d8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c8fa",
  "rgb": {
    "r": 210,
    "g": 200,
    "b": 250
  },
  "hsl": {
    "h": 252,
    "s": 83.333,
    "l": 88.235
  },
  "oklch": {
    "l": 0.85728,
    "c": 0.06948,
    "h": 294.1
  },
  "luminance": 0.61912
}

Semantic roles & 50–950 ramp

primary
#D2C8FA
secondary
#CEDF87
accent
#E006B4
background
#FEFEFF
surface
#FCFBFF
border
#D5D4D7
text
#151417
muted
#848385

Preview Lab

Preview with #D2C8FA

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

Preview Lab → · Contrast checker → · Palette generator →

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