#CDAFEF#CDAFEF

#CDAFEF is a light, moderate violet. Relative luminance 0.499; OKLCH L 80.2% C 0.094 H 305.8°. Best body text is #000000 at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#CDAFEF
RGBrgb(205, 175, 239)
HSLhsl(268, 67%, 81%)
HSVhsv(268, 27%, 94%)
CMYKcmyk(14.2%, 26.8%, 0%, 6.3%)
CIE-LABlab(75.99, 22.87, -27.92)
CIE-LCHlch(75.99, 36.08, 309.32°)
OKLaboklab(80.19% 0.055 -0.0764)
OKLCHoklch(80.19% 0.094 305.8)
XYZxyz(56.0838, 49.8713, 88.3162)
Luminance0.4987 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAFEF #D1EFAF
analogous
#AFB1EF #CDAFEF #EDAFEF
triadic
#CDAFEF #EFCDAF #AFEFCD
tetradic
#CDAFEF #EFAFB1 #D1EFAF #AFEFED
square
#CDAFEF #EFAFB1 #D1EFAF #AFEFED
split-complementary
#CDAFEF #EFEDAF #B1EFAF
monochromatic
#8D49DB #AD7CE5 #CDAFEF #EDE2F9 #EFE5FA

Accessibility & contrast

On white

1.91
#CDAFEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.97
#CDAFEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDAFEF
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDAFEF#FFFFFF#000000##000000
##CDAFEF1.001.9110.9710.97
#FFFFFF1.911.0021.0021.00
#00000010.9721.001.001.00
##00000010.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3BAF2
Deuteranopia (green-blind)
#A9BCED
Tritanopia (blue-blind)
#C8B8C6
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cdafef;
/* rgb */ color: rgb(205, 175, 239);
/* oklch */ color: oklch(80.2% 0.094 305.8);
Tailwind
colors: {
  custom: {
    50: '#ddc7f4',
    500: '#cdafef',
    950: '#000000',
  },
}
SCSS
$custom: #cdafef;
$custom-light: #ddc7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cdafef",
  "rgb": {
    "r": 205,
    "g": 175,
    "b": 239
  },
  "hsl": {
    "h": 268.125,
    "s": 66.667,
    "l": 81.176
  },
  "oklch": {
    "l": 0.8019,
    "c": 0.09413,
    "h": 305.8
  },
  "luminance": 0.49871
}

Semantic roles & 50–950 ramp

primary
#CDAFEF
secondary
#E6F1DA
accent
#CF1778
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151317
muted
#838285

Preview Lab

Preview with #CDAFEF

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

Preview Lab → · Contrast checker → · Palette generator →

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