#CDAFE7#CDAFE7

#CDAFE7 is a light, moderate violet. Relative luminance 0.494; OKLCH L 79.9% C 0.084 H 308.8°. Best body text is #000000 at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#CDAFE7
RGBrgb(205, 175, 231)
HSLhsl(272, 54%, 80%)
HSVhsv(272, 24%, 91%)
CMYKcmyk(11.3%, 24.2%, 0%, 9.4%)
CIE-LABlab(75.71, 21.19, -24.02)
CIE-LCHlch(75.71, 32.03, 311.42°)
OKLaboklab(79.88% 0.0527 -0.0654)
OKLCHoklch(79.88% 0.084 308.8)
XYZxyz(54.9280, 49.4090, 82.2290)
Luminance0.4941 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAFE7 #C9E7AF
analogous
#B1AFE7 #CDAFE7 #E7AFE5
triadic
#CDAFE7 #E7CDAF #AFE7CD
tetradic
#CDAFE7 #E7B1AF #C9E7AF #AFE5E7
square
#CDAFE7 #E7B1AF #C9E7AF #AFE5E7
split-complementary
#CDAFE7 #E5E7AF #AFE7B1
monochromatic
#9251CB #B080D9 #CDAFE7 #EADEF5 #F0E7F8

Accessibility & contrast

On white

1.93
#CDAFE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.88
#CDAFE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDAFE7
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDAFE7#FFFFFF#000000##000000
##CDAFE71.001.9310.8810.88
#FFFFFF1.931.0021.0021.00
#00000010.8821.001.001.00
##00000010.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6B9E9
Deuteranopia (green-blind)
#ACBBE5
Tritanopia (blue-blind)
#CAB6C2
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cdafe7;
/* rgb */ color: rgb(205, 175, 231);
/* oklch */ color: oklch(79.9% 0.084 308.8);
Tailwind
colors: {
  custom: {
    50: '#dcc7ee',
    500: '#cdafe7',
    950: '#000000',
  },
}
SCSS
$custom: #cdafe7;
$custom-light: #dcc7ee;
$custom-dark: #000000;
JSON
{
  "hex": "#cdafe7",
  "rgb": {
    "r": 205,
    "g": 175,
    "b": 231
  },
  "hsl": {
    "h": 272.143,
    "s": 53.846,
    "l": 79.608
  },
  "oklch": {
    "l": 0.79877,
    "c": 0.08399,
    "h": 308.8
  },
  "luminance": 0.49409
}

Semantic roles & 50–950 ramp

primary
#CDAFE7
secondary
#E5EFDC
accent
#C1246D
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151316
muted
#838284

Preview Lab

Preview with #CDAFE7

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

Preview Lab → · Contrast checker → · Palette generator →

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