#CCAFDF#CCAFDF

#CCAFDF is a light, moderate violet. Relative luminance 0.488; OKLCH L 79.5% C 0.074 H 311.8°. Best body text is #000000 at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#CCAFDF
RGBrgb(204, 175, 223)
HSLhsl(276, 43%, 78%)
HSVhsv(276, 22%, 87%)
CMYKcmyk(8.5%, 21.5%, 0%, 12.5%)
CIE-LABlab(75.34, 19.24, -20.24)
CIE-LCHlch(75.34, 27.92, 313.56°)
OKLaboklab(79.49% 0.0491 -0.0548)
OKLCHoklch(79.49% 0.074 311.8)
XYZxyz(53.5489, 48.8255, 76.4010)
Luminance0.4883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAFDF #C2DFAF
analogous
#B4AFDF #CCAFDF #DFAFDA
triadic
#CCAFDF #DFCCAF #AFDFCC
tetradic
#CCAFDF #DFB4AF #C2DFAF #AFDADF
square
#CCAFDF #DFB4AF #C2DFAF #AFDADF
split-complementary
#CCAFDF #DADFAF #AFDFB4
monochromatic
#9458BC #B083CE #CCAFDF #E8DBF0 #F1E9F6

Accessibility & contrast

On white

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

On black

10.76
#CCAFDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAFDF
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAFDF#FFFFFF#000000##000000
##CCAFDF1.001.9510.7610.76
#FFFFFF1.951.0021.0021.00
#00000010.7621.001.001.00
##00000010.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8B8E1
Deuteranopia (green-blind)
#AEBADD
Tritanopia (blue-blind)
#CAB5BF
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #ccafdf;
/* rgb */ color: rgb(204, 175, 223);
/* oklch */ color: oklch(79.5% 0.074 311.8);
Tailwind
colors: {
  custom: {
    50: '#dcc7e9',
    500: '#ccafdf',
    950: '#000000',
  },
}
SCSS
$custom: #ccafdf;
$custom-light: #dcc7e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ccafdf",
  "rgb": {
    "r": 204,
    "g": 175,
    "b": 223
  },
  "hsl": {
    "h": 276.25,
    "s": 42.857,
    "l": 78.039
  },
  "oklch": {
    "l": 0.79486,
    "c": 0.07363,
    "h": 311.8
  },
  "luminance": 0.48825
}

Semantic roles & 50–950 ramp

primary
#CCAFDF
secondary
#E4EDDE
accent
#B63065
background
#FDFCFE
surface
#FBF8FC
border
#D4D1D5
text
#151316
muted
#838284

Preview Lab

Preview with #CCAFDF

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

Preview Lab → · Contrast checker → · Palette generator →

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