#CDAFE2#CDAFE2

#CDAFE2 is a light, moderate violet. Relative luminance 0.491; OKLCH L 79.7% C 0.078 H 311.1°. Best body text is #000000 at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#CDAFE2
RGBrgb(205, 175, 226)
HSLhsl(275, 47%, 79%)
HSVhsv(275, 23%, 89%)
CMYKcmyk(9.3%, 22.6%, 0%, 11.4%)
CIE-LABlab(75.53, 20.17, -21.57)
CIE-LCHlch(75.53, 29.53, 313.08°)
OKLaboklab(79.69% 0.0512 -0.0586)
OKLCHoklch(79.69% 0.078 311.1)
XYZxyz(54.2319, 49.1306, 78.5629)
Luminance0.4913 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAFE2 #C4E2AF
analogous
#B3AFE2 #CDAFE2 #E2AFDD
triadic
#CDAFE2 #E2CDAF #AFE2CD
tetradic
#CDAFE2 #E2B3AF #C4E2AF #AFDDE2
square
#CDAFE2 #E2B3AF #C4E2AF #AFDDE2
split-complementary
#CDAFE2 #DDE2AF #AFE2B3
monochromatic
#9555C1 #B182D2 #CDAFE2 #E9DCF2 #F1E9F7

Accessibility & contrast

On white

1.94
#CDAFE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.83
#CDAFE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDAFE2
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDAFE2#FFFFFF#000000##000000
##CDAFE21.001.9410.8310.83
#FFFFFF1.941.0021.0021.00
#00000010.8321.001.001.00
##00000010.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7B9E4
Deuteranopia (green-blind)
#ADBBE0
Tritanopia (blue-blind)
#CBB5C1
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cdafe2;
/* rgb */ color: rgb(205, 175, 226);
/* oklch */ color: oklch(79.7% 0.078 311.1);
Tailwind
colors: {
  custom: {
    50: '#dcc7eb',
    500: '#cdafe2',
    950: '#000000',
  },
}
SCSS
$custom: #cdafe2;
$custom-light: #dcc7eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cdafe2",
  "rgb": {
    "r": 205,
    "g": 175,
    "b": 226
  },
  "hsl": {
    "h": 275.294,
    "s": 46.789,
    "l": 78.627
  },
  "oklch": {
    "l": 0.79687,
    "c": 0.07776,
    "h": 311.1
  },
  "luminance": 0.4913
}

Semantic roles & 50–950 ramp

primary
#CDAFE2
secondary
#E4EEDD
accent
#BA2B66
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151316
muted
#838284

Preview Lab

Preview with #CDAFE2

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

Preview Lab → · Contrast checker → · Palette generator →

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