#CDAAF2#CDAAF2

#CDAAF2 is a light, moderate violet. Relative luminance 0.481; OKLCH L 79.4% C 0.106 H 306.3°. Best body text is #000000 at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#CDAAF2
RGBrgb(205, 170, 242)
HSLhsl(269, 73%, 81%)
HSVhsv(269, 30%, 95%)
CMYKcmyk(15.3%, 29.8%, 0%, 5.1%)
CIE-LABlab(74.91, 26.24, -31.19)
CIE-LCHlch(74.91, 40.76, 310.07°)
OKLaboklab(79.4% 0.063 -0.0856)
OKLCHoklch(79.4% 0.106 306.3)
XYZxyz(55.5755, 48.1397, 90.3513)
Luminance0.4814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAAF2 #CFF2AA
analogous
#AAABF2 #CDAAF2 #F1AAF2
triadic
#CDAAF2 #F2CDAA #AAF2CD
tetradic
#CDAAF2 #F2AAAB #CFF2AA #AAF2F1
square
#CDAAF2 #F2AAAB #CFF2AA #AAF2F1
split-complementary
#CDAAF2 #F2F1AA #ABF2AA
monochromatic
#8F40E2 #AE75EA #CDAAF2 #ECDFFA #EFE4FB

Accessibility & contrast

On white

1.98
#CDAAF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.63
#CDAAF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDAAF2
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDAAF2#FFFFFF#000000##000000
##CDAAF21.001.9810.6310.63
#FFFFFF1.981.0021.0021.00
#00000010.6321.001.001.00
##00000010.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CB7F5
Deuteranopia (green-blind)
#A3B9F0
Tritanopia (blue-blind)
#C8B4C4
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cdaaf2;
/* rgb */ color: rgb(205, 170, 242);
/* oklch */ color: oklch(79.4% 0.106 306.3);
Tailwind
colors: {
  custom: {
    50: '#ddc3f6',
    500: '#cdaaf2',
    950: '#000000',
  },
}
SCSS
$custom: #cdaaf2;
$custom-light: #ddc3f6;
$custom-dark: #000000;
JSON
{
  "hex": "#cdaaf2",
  "rgb": {
    "r": 205,
    "g": 170,
    "b": 242
  },
  "hsl": {
    "h": 269.167,
    "s": 73.469,
    "l": 80.784
  },
  "oklch": {
    "l": 0.79401,
    "c": 0.1063,
    "h": 306.3
  },
  "luminance": 0.48139
}

Semantic roles & 50–950 ramp

primary
#CDAAF2
secondary
#E6F3D8
accent
#D61075
background
#FDFCFF
surface
#FBF8FE
border
#D4D1D6
text
#151217
muted
#838185

Preview Lab

Preview with #CDAAF2

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

Preview Lab → · Contrast checker → · Palette generator →

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