#CDAFDD#CDAFDD

#CDAFDD is a light, moderate violet. Relative luminance 0.489; OKLCH L 79.5% C 0.072 H 313.8°. Best body text is #000000 at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#CDAFDD
RGBrgb(205, 175, 221)
HSLhsl(279, 40%, 78%)
HSVhsv(279, 21%, 87%)
CMYKcmyk(7.2%, 20.8%, 0%, 13.3%)
CIE-LABlab(75.36, 19.17, -19.11)
CIE-LCHlch(75.36, 27.06, 315.09°)
OKLaboklab(79.5% 0.0496 -0.0517)
OKLCHoklch(79.5% 0.072 313.8)
XYZxyz(53.5559, 48.8601, 75.0022)
Luminance0.4886 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAFDD #BFDDAF
analogous
#B6AFDD #CDAFDD #DDAFD6
triadic
#CDAFDD #DDCDAF #AFDDCD
tetradic
#CDAFDD #DDB6AF #BFDDAF #AFD6DD
square
#CDAFDD #DDB6AF #BFDDAF #AFD6DD
split-complementary
#CDAFDD #D6DDAF #AFDDB6
monochromatic
#9759B8 #B284CB #CDAFDD #E8DAEF #F2EAF6

Accessibility & contrast

On white

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

On black

10.77
#CDAFDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDAFDD
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDAFDD#FFFFFF#000000##000000
##CDAFDD1.001.9510.7710.77
#FFFFFF1.951.0021.0021.00
#00000010.7721.001.001.00
##00000010.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9B8DF
Deuteranopia (green-blind)
#AFBADB
Tritanopia (blue-blind)
#CCB4BF
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cdafdd;
/* rgb */ color: rgb(205, 175, 221);
/* oklch */ color: oklch(79.5% 0.072 313.8);
Tailwind
colors: {
  custom: {
    50: '#dcc7e7',
    500: '#cdafdd',
    950: '#000000',
  },
}
SCSS
$custom: #cdafdd;
$custom-light: #dcc7e7;
$custom-dark: #000000;
JSON
{
  "hex": "#cdafdd",
  "rgb": {
    "r": 205,
    "g": 175,
    "b": 221
  },
  "hsl": {
    "h": 279.13,
    "s": 40.351,
    "l": 77.647
  },
  "oklch": {
    "l": 0.79501,
    "c": 0.07165,
    "h": 313.8
  },
  "luminance": 0.4886
}

Semantic roles & 50–950 ramp

primary
#CDAFDD
secondary
#E3EDDE
accent
#B3325F
background
#FDFCFE
surface
#FBF8FC
border
#D4D1D5
text
#151316
muted
#838284

Preview Lab

Preview with #CDAFDD

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

Preview Lab → · Contrast checker → · Palette generator →

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