#CDAFE4#CDAFE4

#CDAFE4 is a light, moderate violet. Relative luminance 0.492; OKLCH L 79.8% C 0.080 H 310.2°. Best body text is #000000 at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#CDAFE4
RGBrgb(205, 175, 228)
HSLhsl(274, 50%, 79%)
HSVhsv(274, 23%, 89%)
CMYKcmyk(10.1%, 23.2%, 0%, 10.6%)
CIE-LABlab(75.60, 20.58, -22.55)
CIE-LCHlch(75.60, 30.53, 312.38°)
OKLaboklab(79.76% 0.0518 -0.0613)
OKLCHoklch(79.76% 0.08 310.2)
XYZxyz(54.5080, 49.2410, 80.0167)
Luminance0.4924 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAFE4 #C6E4AF
analogous
#B3AFE4 #CDAFE4 #E4AFE1
triadic
#CDAFE4 #E4CDAF #AFE4CD
tetradic
#CDAFE4 #E4B3AF #C6E4AF #AFE1E4
square
#CDAFE4 #E4B3AF #C6E4AF #AFE1E4
split-complementary
#CDAFE4 #E1E4AF #AFE4B3
monochromatic
#9453C5 #B081D5 #CDAFE4 #EADDF3 #F1E8F7

Accessibility & contrast

On white

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

On black

10.85
#CDAFE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDAFE4
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDAFE4#FFFFFF#000000##000000
##CDAFE41.001.9410.8510.85
#FFFFFF1.941.0021.0021.00
#00000010.8521.001.001.00
##00000010.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7B9E6
Deuteranopia (green-blind)
#ADBBE2
Tritanopia (blue-blind)
#CBB6C1
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cdafe4;
/* rgb */ color: rgb(205, 175, 228);
/* oklch */ color: oklch(79.8% 0.080 310.2);
Tailwind
colors: {
  custom: {
    50: '#dcc7ec',
    500: '#cdafe4',
    950: '#000000',
  },
}
SCSS
$custom: #cdafe4;
$custom-light: #dcc7ec;
$custom-dark: #000000;
JSON
{
  "hex": "#cdafe4",
  "rgb": {
    "r": 205,
    "g": 175,
    "b": 228
  },
  "hsl": {
    "h": 273.962,
    "s": 49.533,
    "l": 79.02
  },
  "oklch": {
    "l": 0.79762,
    "c": 0.08024,
    "h": 310.2
  },
  "luminance": 0.49241
}

Semantic roles & 50–950 ramp

primary
#CDAFE4
secondary
#E4EEDD
accent
#BD2969
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151316
muted
#838284

Preview Lab

Preview with #CDAFE4

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

Preview Lab → · Contrast checker → · Palette generator →

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