#CDAFE5#CDAFE5

#CDAFE5 is a light, moderate violet. Relative luminance 0.493; OKLCH L 79.8% C 0.081 H 309.7°. Best body text is #000000 at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#CDAFE5
RGBrgb(205, 175, 229)
HSLhsl(273, 51%, 79%)
HSVhsv(273, 24%, 90%)
CMYKcmyk(10.5%, 23.6%, 0%, 10.2%)
CIE-LABlab(75.64, 20.78, -23.04)
CIE-LCHlch(75.64, 31.03, 312.05°)
OKLaboklab(79.8% 0.0521 -0.0627)
OKLCHoklch(79.8% 0.081 309.7)
XYZxyz(54.6472, 49.2967, 80.7499)
Luminance0.4930 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAFE5 #C7E5AF
analogous
#B2AFE5 #CDAFE5 #E5AFE2
triadic
#CDAFE5 #E5CDAF #AFE5CD
tetradic
#CDAFE5 #E5B2AF #C7E5AF #AFE2E5
square
#CDAFE5 #E5B2AF #C7E5AF #AFE2E5
split-complementary
#CDAFE5 #E2E5AF #AFE5B2
monochromatic
#9353C7 #B081D6 #CDAFE5 #EADDF4 #F1E8F7

Accessibility & contrast

On white

1.93
#CDAFE5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.86
#CDAFE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDAFE5
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDAFE5#FFFFFF#000000##000000
##CDAFE51.001.9310.8610.86
#FFFFFF1.931.0021.0021.00
#00000010.8621.001.001.00
##00000010.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6B9E7
Deuteranopia (green-blind)
#ACBBE3
Tritanopia (blue-blind)
#CAB6C2
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cdafe5;
/* rgb */ color: rgb(205, 175, 229);
/* oklch */ color: oklch(79.8% 0.081 309.7);
Tailwind
colors: {
  custom: {
    50: '#dcc7ed',
    500: '#cdafe5',
    950: '#000000',
  },
}
SCSS
$custom: #cdafe5;
$custom-light: #dcc7ed;
$custom-dark: #000000;
JSON
{
  "hex": "#cdafe5",
  "rgb": {
    "r": 205,
    "g": 175,
    "b": 229
  },
  "hsl": {
    "h": 273.333,
    "s": 50.943,
    "l": 79.216
  },
  "oklch": {
    "l": 0.798,
    "c": 0.08149,
    "h": 309.7
  },
  "luminance": 0.49296
}

Semantic roles & 50–950 ramp

primary
#CDAFE5
secondary
#E4EFDC
accent
#BE276A
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151316
muted
#838284

Preview Lab

Preview with #CDAFE5

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

Preview Lab → · Contrast checker → · Palette generator →

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