#CDAFEC#CDAFEC

#CDAFEC is a light, moderate violet. Relative luminance 0.497; OKLCH L 80.1% C 0.090 H 306.8°. Best body text is #000000 at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#CDAFEC
RGBrgb(205, 175, 236)
HSLhsl(270, 62%, 81%)
HSVhsv(270, 26%, 93%)
CMYKcmyk(13.1%, 25.8%, 0%, 7.5%)
CIE-LABlab(75.88, 22.23, -26.46)
CIE-LCHlch(75.88, 34.56, 310.04°)
OKLaboklab(80.07% 0.0542 -0.0723)
OKLCHoklch(80.07% 0.09 306.8)
XYZxyz(55.6443, 49.6955, 86.0014)
Luminance0.4970 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAFEC #CEECAF
analogous
#AFAFEC #CDAFEC #EBAFEC
triadic
#CDAFEC #ECCDAF #AFECCD
tetradic
#CDAFEC #ECAFAF #CEECAF #AFECEB
square
#CDAFEC #ECAFAF #CEECAF #AFECEB
split-complementary
#CDAFEC #ECEBAF #AFECAF
monochromatic
#8F4CD5 #AE7EE0 #CDAFEC #ECE0F8 #F0E6F9

Accessibility & contrast

On white

1.92
#CDAFEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.94
#CDAFEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDAFEC
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDAFEC#FFFFFF#000000##000000
##CDAFEC1.001.9210.9410.94
#FFFFFF1.921.0021.0021.00
#00000010.9421.001.001.00
##00000010.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4BAEF
Deuteranopia (green-blind)
#AABBEA
Tritanopia (blue-blind)
#C9B7C4
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cdafec;
/* rgb */ color: rgb(205, 175, 236);
/* oklch */ color: oklch(80.1% 0.090 306.8);
Tailwind
colors: {
  custom: {
    50: '#dcc7f2',
    500: '#cdafec',
    950: '#000000',
  },
}
SCSS
$custom: #cdafec;
$custom-light: #dcc7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cdafec",
  "rgb": {
    "r": 205,
    "g": 175,
    "b": 236
  },
  "hsl": {
    "h": 269.508,
    "s": 61.616,
    "l": 80.588
  },
  "oklch": {
    "l": 0.80071,
    "c": 0.09031,
    "h": 306.8
  },
  "luminance": 0.49695
}

Semantic roles & 50–950 ramp

primary
#CDAFEC
secondary
#E6F0DB
accent
#C91C74
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151317
muted
#838285

Preview Lab

Preview with #CDAFEC

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

Preview Lab → · Contrast checker → · Palette generator →

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