#CDAAFD#CDAAFD

#CDAAFD is a light, vivid violet. Relative luminance 0.488; OKLCH L 79.9% C 0.120 H 303.1°. Best body text is #000000 at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#CDAAFD
RGBrgb(205, 170, 253)
HSLhsl(265, 95%, 83%)
HSVhsv(265, 33%, 99%)
CMYKcmyk(19%, 32.8%, 0%, 0.8%)
CIE-LABlab(75.34, 28.63, -36.48)
CIE-LCHlch(75.34, 46.37, 308.12°)
OKLaboklab(79.87% 0.0658 -0.1007)
OKLCHoklch(79.87% 0.12 303.1)
XYZxyz(57.2775, 48.8205, 99.3153)
Luminance0.4882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDAAFD #DAFDAA
analogous
#AAB0FD #CDAAFD #F6AAFD
triadic
#CDAAFD #FDCDAA #AAFDCD
tetradic
#CDAAFD #FDAAB0 #DAFDAA #AAFDF6
square
#CDAAFD #FDAAB0 #DAFDAA #AAFDF6
split-complementary
#CDAAFD #FDF6AA #B0FDAA
monochromatic
#8732FA #AA6EFC #CDAAFD #EDE1FE #EDE1FE

Accessibility & contrast

On white

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

On black

10.76
#CDAAFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDAAFD
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDAAFD#FFFFFF#000000##000000
##CDAAFD1.001.9510.7610.76
#FFFFFF1.951.0021.0021.00
#00000010.7621.001.001.00
##00000010.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdaafd;
/* rgb */ color: rgb(205, 170, 253);
/* oklch */ color: oklch(79.9% 0.120 303.1);
Tailwind
colors: {
  custom: {
    50: '#ddc3fe',
    500: '#cdaafd',
    950: '#000000',
  },
}
SCSS
$custom: #cdaafd;
$custom-light: #ddc3fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cdaafd",
  "rgb": {
    "r": 205,
    "g": 170,
    "b": 253
  },
  "hsl": {
    "h": 265.301,
    "s": 95.402,
    "l": 82.941
  },
  "oklch": {
    "l": 0.79867,
    "c": 0.12027,
    "h": 303.1
  },
  "luminance": 0.4882
}

Semantic roles & 50–950 ramp

primary
#CDAAFD
secondary
#E8F7D4
accent
#E60085
background
#FDFCFF
surface
#FBF8FF
border
#D4D1D7
text
#151218
muted
#838186

Preview Lab

Preview with #CDAAFD

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

Preview Lab → · Contrast checker → · Palette generator →

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