#CCAFDC#CCAFDC

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

Color values

HEX#CCAFDC
RGBrgb(204, 175, 220)
HSLhsl(279, 39%, 77%)
HSVhsv(279, 20%, 86%)
CMYKcmyk(7.3%, 20.5%, 0%, 13.7%)
CIE-LABlab(75.24, 18.64, -18.76)
CIE-LCHlch(75.24, 26.44, 314.82°)
OKLaboklab(79.38% 0.0482 -0.0507)
OKLCHoklch(79.38% 0.07 313.5)
XYZxyz(53.1480, 48.6652, 74.2897)
Luminance0.4867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAFDC #BFDCAF
analogous
#B6AFDC #CCAFDC #DCAFD5
triadic
#CCAFDC #DCCCAF #AFDCCC
tetradic
#CCAFDC #DCB6AF #BFDCAF #AFD5DC
square
#CCAFDC #DCB6AF #BFDCAF #AFD5DC
split-complementary
#CCAFDC #D5DCAF #AFDCB6
monochromatic
#965AB7 #B184C9 #CCAFDC #E7DAEF #F1EAF6

Accessibility & contrast

On white

1.96
#CCAFDC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.73
#CCAFDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAFDC
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAFDC#FFFFFF#000000##000000
##CCAFDC1.001.9610.7310.73
#FFFFFF1.961.0021.0021.00
#00000010.7321.001.001.00
##00000010.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9B8DE
Deuteranopia (green-blind)
#AFBADA
Tritanopia (blue-blind)
#CBB4BE
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #ccafdc;
/* rgb */ color: rgb(204, 175, 220);
/* oklch */ color: oklch(79.4% 0.070 313.5);
Tailwind
colors: {
  custom: {
    50: '#dbc7e7',
    500: '#ccafdc',
    950: '#000000',
  },
}
SCSS
$custom: #ccafdc;
$custom-light: #dbc7e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ccafdc",
  "rgb": {
    "r": 204,
    "g": 175,
    "b": 220
  },
  "hsl": {
    "h": 278.667,
    "s": 39.13,
    "l": 77.451
  },
  "oklch": {
    "l": 0.79376,
    "c": 0.06996,
    "h": 313.5
  },
  "luminance": 0.48665
}

Semantic roles & 50–950 ramp

primary
#CCAFDC
secondary
#E3ECDF
accent
#B23360
background
#FDFCFE
surface
#FBF8FC
border
#D4D1D5
text
#151316
muted
#838284

Preview Lab

Preview with #CCAFDC

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

Preview Lab → · Contrast checker → · Palette generator →

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