#D2C7FF#D2C7FF

#D2C7FF is a very light, moderate violet. Relative luminance 0.618; OKLCH L 85.7% C 0.078 H 293.7°. Best body text is #000000 at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#D2C7FF
RGBrgb(210, 199, 255)
HSLhsl(252, 100%, 89%)
HSVhsv(252, 22%, 100%)
CMYKcmyk(17.6%, 22%, 0%, 0%)
CIE-LABlab(82.79, 14.81, -26.06)
CIE-LCHlch(82.79, 29.97, 299.61°)
OKLaboklab(85.73% 0.0313 -0.0712)
OKLCHoklch(85.73% 0.078 293.7)
XYZxyz(65.0478, 61.7680, 103.0838)
Luminance0.6177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C7FF #F4FFC7
analogous
#C7D8FF #D2C7FF #EEC7FF
triadic
#D2C7FF #FFD2C7 #C7FFD2
tetradic
#D2C7FF #FFC7D8 #F4FFC7 #C7FFEE
square
#D2C7FF #FFC7D8 #F4FFC7 #C7FFEE
split-complementary
#D2C7FF #FFEEC7 #D8FFC7
monochromatic
#704DFF #A18AFF #D2C7FF #E6E0FF #E6E0FF

Accessibility & contrast

On white

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

On black

13.35
#D2C7FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C7FF
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C7FF#FFFFFF#000000##000000
##D2C7FF1.001.5713.3513.35
#FFFFFF1.571.0021.0021.00
#00000013.3521.001.001.00
##00000013.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBCFFF
Deuteranopia (green-blind)
#BCCDFD
Tritanopia (blue-blind)
#C9D0DA
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d2c7ff;
/* rgb */ color: rgb(210, 199, 255);
/* oklch */ color: oklch(85.7% 0.078 293.7);
Tailwind
colors: {
  custom: {
    50: '#e0d8ff',
    500: '#d2c7ff',
    950: '#000000',
  },
}
SCSS
$custom: #d2c7ff;
$custom-light: #e0d8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c7ff",
  "rgb": {
    "r": 210,
    "g": 199,
    "b": 255
  },
  "hsl": {
    "h": 251.786,
    "s": 100,
    "l": 89.02
  },
  "oklch": {
    "l": 0.85725,
    "c": 0.07779,
    "h": 293.7
  },
  "luminance": 0.61768
}

Semantic roles & 50–950 ramp

primary
#D2C7FF
secondary
#D5E981
accent
#E600B8
background
#FEFEFF
surface
#FCFBFF
border
#D5D4D7
text
#151418
muted
#848386

Preview Lab

Preview with #D2C7FF

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

Preview Lab → · Contrast checker → · Palette generator →

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