#CCAFDD#CCAFDD

#CCAFDD is a light, moderate violet. Relative luminance 0.487; OKLCH L 79.4% C 0.071 H 312.9°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#CCAFDD
RGBrgb(204, 175, 221)
HSLhsl(278, 40%, 78%)
HSVhsv(278, 21%, 87%)
CMYKcmyk(7.7%, 20.8%, 0%, 13.3%)
CIE-LABlab(75.28, 18.84, -19.25)
CIE-LCHlch(75.28, 26.93, 314.38°)
OKLaboklab(79.41% 0.0485 -0.0521)
OKLCHoklch(79.41% 0.071 312.9)
XYZxyz(53.2808, 48.7183, 74.9893)
Luminance0.4872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAFDD #C0DDAF
analogous
#B5AFDD #CCAFDD #DDAFD7
triadic
#CCAFDD #DDCCAF #AFDDCC
tetradic
#CCAFDD #DDB5AF #C0DDAF #AFD7DD
square
#CCAFDD #DDB5AF #C0DDAF #AFD7DD
split-complementary
#CCAFDD #D7DDAF #AFDDB5
monochromatic
#9559B8 #B184CB #CCAFDD #E7DAEF #F1EAF6

Accessibility & contrast

On white

1.95
#CCAFDD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.74
#CCAFDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAFDD
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAFDD#FFFFFF#000000##000000
##CCAFDD1.001.9510.7410.74
#FFFFFF1.951.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9B8DF
Deuteranopia (green-blind)
#AEBADB
Tritanopia (blue-blind)
#CBB4BF
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #ccafdd;
/* rgb */ color: rgb(204, 175, 221);
/* oklch */ color: oklch(79.4% 0.071 312.9);
Tailwind
colors: {
  custom: {
    50: '#dbc7e7',
    500: '#ccafdd',
    950: '#000000',
  },
}
SCSS
$custom: #ccafdd;
$custom-light: #dbc7e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ccafdd",
  "rgb": {
    "r": 204,
    "g": 175,
    "b": 221
  },
  "hsl": {
    "h": 277.826,
    "s": 40.351,
    "l": 77.647
  },
  "oklch": {
    "l": 0.79412,
    "c": 0.07117,
    "h": 312.9
  },
  "luminance": 0.48718
}

Semantic roles & 50–950 ramp

primary
#CCAFDD
secondary
#E4EDDE
accent
#B33262
background
#FDFCFE
surface
#FBF8FC
border
#D4D1D5
text
#151316
muted
#838284

Preview Lab

Preview with #CCAFDD

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

Preview Lab → · Contrast checker → · Palette generator →

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