#CCC7DF#CCC7DF

#CCC7DF is a very light, muted violet. Relative luminance 0.590; OKLCH L 84.1% C 0.033 H 295.2°. Best body text is #000000 at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#CCC7DF
RGBrgb(204, 199, 223)
HSLhsl(253, 27%, 83%)
HSVhsv(253, 11%, 87%)
CMYKcmyk(8.5%, 10.8%, 0%, 12.5%)
CIE-LABlab(81.30, 6.27, -11.27)
CIE-LCHlch(81.30, 12.90, 299.08°)
OKLaboklab(84.11% 0.0143 -0.0303)
OKLCHoklch(84.11% 0.033 295.2)
XYZxyz(58.6420, 59.0118, 78.0987)
Luminance0.5901 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC7DF #DADFC7
analogous
#C7CEDF #CCC7DF #D8C7DF
triadic
#CCC7DF #DFCCC7 #C7DFCC
tetradic
#CCC7DF #DFC7CE #DADFC7 #C7DFD8
square
#CCC7DF #DFC7CE #DADFC7 #C7DFD8
split-complementary
#CCC7DF #DFD8C7 #CEDFC7
monochromatic
#8579B2 #A9A0C9 #CCC7DF #EDECF4 #EDECF4

Accessibility & contrast

On white

1.64
#CCC7DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.80
#CCC7DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC7DF
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC7DF#FFFFFF#000000##000000
##CCC7DF1.001.6412.8012.80
#FFFFFF1.641.0021.0021.00
#00000012.8021.001.001.00
##00000012.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2CAE0
Deuteranopia (green-blind)
#C3CADE
Tritanopia (blue-blind)
#C9CACF
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #ccc7df;
/* rgb */ color: rgb(204, 199, 223);
/* oklch */ color: oklch(84.1% 0.033 295.2);
Tailwind
colors: {
  custom: {
    50: '#dbd8e9',
    500: '#ccc7df',
    950: '#000000',
  },
}
SCSS
$custom: #ccc7df;
$custom-light: #dbd8e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc7df",
  "rgb": {
    "r": 204,
    "g": 199,
    "b": 223
  },
  "hsl": {
    "h": 252.5,
    "s": 27.273,
    "l": 82.745
  },
  "oklch": {
    "l": 0.84111,
    "c": 0.03349,
    "h": 295.2
  },
  "luminance": 0.59012
}

Semantic roles & 50–950 ramp

primary
#CCC7DF
secondary
#AFB694
accent
#A64091
background
#FEFEFE
surface
#FBFBFC
border
#D4D4D5
text
#151416
muted
#848384

Preview Lab

Preview with #CCC7DF

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

Preview Lab → · Contrast checker → · Palette generator →

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