#CDAAFE#CDAAFE

#CDAAFE is a light, vivid violet. Relative luminance 0.489; OKLCH L 79.9% C 0.122 H 302.9°. Best body text is #000000 at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#CDAAFE
RGBrgb(205, 170, 254)
HSLhsl(265, 98%, 83%)
HSVhsv(265, 33%, 100%)
CMYKcmyk(19.3%, 33.1%, 0%, 0.4%)
CIE-LABlab(75.38, 28.85, -36.96)
CIE-LCHlch(75.38, 46.88, 307.97°)
OKLaboklab(79.91% 0.066 -0.1021)
OKLCHoklch(79.91% 0.122 302.9)
XYZxyz(57.4372, 48.8844, 100.1564)
Luminance0.4888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAAFE #DBFEAA
analogous
#AAB1FE #CDAAFE #F7AAFE
triadic
#CDAAFE #FECDAA #AAFECD
tetradic
#CDAAFE #FEAAB1 #DBFEAA #AAFEF7
square
#CDAAFE #FEAAB1 #DBFEAA #AAFEF7
split-complementary
#CDAAFE #FEF7AA #B1FEAA
monochromatic
#8631FD #A96EFD #CDAAFE #EDE1FF #EDE1FF

Accessibility & contrast

On white

1.95
#CDAAFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.78
#CDAAFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDAAFE
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDAAFE#FFFFFF#000000##000000
##CDAAFE1.001.9510.7810.78
#FFFFFF1.951.0021.0021.00
#00000010.7821.001.001.00
##00000010.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#98B9FF
Deuteranopia (green-blind)
#9EBAFC
Tritanopia (blue-blind)
#C5B7C9
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cdaafe;
/* rgb */ color: rgb(205, 170, 254);
/* oklch */ color: oklch(79.9% 0.122 302.9);
Tailwind
colors: {
  custom: {
    50: '#ddc3ff',
    500: '#cdaafe',
    950: '#000000',
  },
}
SCSS
$custom: #cdaafe;
$custom-light: #ddc3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cdaafe",
  "rgb": {
    "r": 205,
    "g": 170,
    "b": 254
  },
  "hsl": {
    "h": 265,
    "s": 97.674,
    "l": 83.137
  },
  "oklch": {
    "l": 0.79911,
    "c": 0.12154,
    "h": 302.9
  },
  "luminance": 0.48884
}

Semantic roles & 50–950 ramp

primary
#CDAAFE
secondary
#E8F7D4
accent
#E60086
background
#FDFCFF
surface
#FBF8FF
border
#D4D1D7
text
#151218
muted
#838186

Preview Lab

Preview with #CDAAFE

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

Preview Lab → · Contrast checker → · Palette generator →

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