#CCAFDB#CCAFDB

#CCAFDB is a light, moderate violet. Relative luminance 0.486; OKLCH L 79.3% C 0.069 H 314.1°. Best body text is #000000 at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#CCAFDB
RGBrgb(204, 175, 219)
HSLhsl(280, 38%, 77%)
HSVhsv(280, 20%, 86%)
CMYKcmyk(6.8%, 20.1%, 0%, 14.1%)
CIE-LABlab(75.21, 18.44, -18.26)
CIE-LCHlch(75.21, 25.95, 315.28°)
OKLaboklab(79.34% 0.0478 -0.0494)
OKLCHoklch(79.34% 0.069 314.1)
XYZxyz(53.0159, 48.6124, 73.5943)
Luminance0.4861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAFDB #BEDBAF
analogous
#B6AFDB #CCAFDB #DBAFD4
triadic
#CCAFDB #DBCCAF #AFDBCC
tetradic
#CCAFDB #DBB6AF #BEDBAF #AFD4DB
square
#CCAFDB #DBB6AF #BEDBAF #AFD4DB
split-complementary
#CCAFDB #D4DBAF #AFDBB6
monochromatic
#965BB5 #B185C8 #CCAFDB #E7D9EE #F2EAF6

Accessibility & contrast

On white

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

On black

10.72
#CCAFDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAFDB
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAFDB#FFFFFF#000000##000000
##CCAFDB1.001.9610.7210.72
#FFFFFF1.961.0021.0021.00
#00000010.7221.001.001.00
##00000010.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccafdb;
/* rgb */ color: rgb(204, 175, 219);
/* oklch */ color: oklch(79.3% 0.069 314.1);
Tailwind
colors: {
  custom: {
    50: '#dbc7e6',
    500: '#ccafdb',
    950: '#000000',
  },
}
SCSS
$custom: #ccafdb;
$custom-light: #dbc7e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ccafdb",
  "rgb": {
    "r": 204,
    "g": 175,
    "b": 219
  },
  "hsl": {
    "h": 279.545,
    "s": 37.931,
    "l": 77.255
  },
  "oklch": {
    "l": 0.79339,
    "c": 0.06875,
    "h": 314.1
  },
  "luminance": 0.48612
}

Semantic roles & 50–950 ramp

primary
#CCAFDB
secondary
#E3ECDF
accent
#B1355F
background
#FDFCFE
surface
#FBF8FC
border
#D4D1D5
text
#151316
muted
#838284

Preview Lab

Preview with #CCAFDB

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

Preview Lab → · Contrast checker → · Palette generator →

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