#CCAFDE#CCAFDE

#CCAFDE is a light, moderate violet. Relative luminance 0.488; OKLCH L 79.4% C 0.072 H 312.4°. Best body text is #000000 at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#CCAFDE
RGBrgb(204, 175, 222)
HSLhsl(277, 42%, 78%)
HSVhsv(277, 21%, 87%)
CMYKcmyk(8.1%, 21.2%, 0%, 12.9%)
CIE-LABlab(75.31, 19.04, -19.74)
CIE-LCHlch(75.31, 27.43, 313.96°)
OKLaboklab(79.45% 0.0488 -0.0535)
OKLCHoklch(79.45% 0.072 312.4)
XYZxyz(53.4144, 48.7718, 75.6931)
Luminance0.4877 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAFDE #C1DEAF
analogous
#B4AFDE #CCAFDE #DEAFD9
triadic
#CCAFDE #DECCAF #AFDECC
tetradic
#CCAFDE #DEB4AF #C1DEAF #AFD9DE
square
#CCAFDE #DEB4AF #C1DEAF #AFD9DE
split-complementary
#CCAFDE #D9DEAF #AFDEB4
monochromatic
#9558BA #B084CC #CCAFDE #E8DAF0 #F1E9F6

Accessibility & contrast

On white

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

On black

10.75
#CCAFDE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAFDE
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAFDE#FFFFFF#000000##000000
##CCAFDE1.001.9510.7510.75
#FFFFFF1.951.0021.0021.00
#00000010.7521.001.001.00
##00000010.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8B8E0
Deuteranopia (green-blind)
#AEBADC
Tritanopia (blue-blind)
#CBB5BF
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #ccafde;
/* rgb */ color: rgb(204, 175, 222);
/* oklch */ color: oklch(79.4% 0.072 312.4);
Tailwind
colors: {
  custom: {
    50: '#dbc7e8',
    500: '#ccafde',
    950: '#000000',
  },
}
SCSS
$custom: #ccafde;
$custom-light: #dbc7e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ccafde",
  "rgb": {
    "r": 204,
    "g": 175,
    "b": 222
  },
  "hsl": {
    "h": 277.021,
    "s": 41.593,
    "l": 77.843
  },
  "oklch": {
    "l": 0.79449,
    "c": 0.0724,
    "h": 312.4
  },
  "luminance": 0.48771
}

Semantic roles & 50–950 ramp

primary
#CCAFDE
secondary
#E4EDDE
accent
#B53163
background
#FDFCFE
surface
#FBF8FC
border
#D4D1D5
text
#151316
muted
#838284

Preview Lab

Preview with #CCAFDE

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

Preview Lab → · Contrast checker → · Palette generator →

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