#CDAFEA#CDAFEA

#CDAFEA is a light, moderate violet. Relative luminance 0.496; OKLCH L 80.0% C 0.088 H 307.6°. Best body text is #000000 at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#CDAFEA
RGBrgb(205, 175, 234)
HSLhsl(271, 58%, 80%)
HSVhsv(271, 25%, 92%)
CMYKcmyk(12.4%, 25.2%, 0%, 8.2%)
CIE-LABlab(75.81, 21.82, -25.48)
CIE-LCHlch(75.81, 33.55, 310.57°)
OKLaboklab(79.99% 0.0536 -0.0695)
OKLCHoklch(79.99% 0.088 307.6)
XYZxyz(55.3554, 49.5799, 84.4796)
Luminance0.4958 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAFEA #CCEAAF
analogous
#AFAFEA #CDAFEA #EAAFEA
triadic
#CDAFEA #EACDAF #AFEACD
tetradic
#CDAFEA #EAAFAF #CCEAAF #AFEAEA
square
#CDAFEA #EAAFAF #CCEAAF #AFEAEA
split-complementary
#CDAFEA #EAEAAF #AFEAAF
monochromatic
#904ED1 #AF7FDD #CDAFEA #EBDFF7 #F0E7F9

Accessibility & contrast

On white

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

On black

10.92
#CDAFEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDAFEA
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDAFEA#FFFFFF#000000##000000
##CDAFEA1.001.9210.9210.92
#FFFFFF1.921.0021.0021.00
#00000010.9221.001.001.00
##00000010.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdafea;
/* rgb */ color: rgb(205, 175, 234);
/* oklch */ color: oklch(80.0% 0.088 307.6);
Tailwind
colors: {
  custom: {
    50: '#dcc7f1',
    500: '#cdafea',
    950: '#000000',
  },
}
SCSS
$custom: #cdafea;
$custom-light: #dcc7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cdafea",
  "rgb": {
    "r": 205,
    "g": 175,
    "b": 234
  },
  "hsl": {
    "h": 270.508,
    "s": 58.416,
    "l": 80.196
  },
  "oklch": {
    "l": 0.79993,
    "c": 0.08777,
    "h": 307.6
  },
  "luminance": 0.4958
}

Semantic roles & 50–950 ramp

primary
#CDAFEA
secondary
#E5F0DB
accent
#C61F71
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151316
muted
#838284

Preview Lab

Preview with #CDAFEA

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

Preview Lab → · Contrast checker → · Palette generator →

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