#CDA8FD#CDA8FD

#CDA8FD is a light, vivid violet. Relative luminance 0.481; OKLCH L 79.5% C 0.124 H 303.7°. Best body text is #000000 at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#CDA8FD
RGBrgb(205, 168, 253)
HSLhsl(266, 96%, 83%)
HSVhsv(266, 34%, 99%)
CMYKcmyk(19%, 33.6%, 0%, 0.8%)
CIE-LABlab(74.87, 29.72, -37.20)
CIE-LCHlch(74.87, 47.62, 308.62°)
OKLaboklab(79.51% 0.0686 -0.1028)
OKLCHoklch(79.51% 0.124 303.7)
XYZxyz(56.9055, 48.0764, 99.1912)
Luminance0.4808 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDA8FD #D8FDA8
analogous
#A8ADFD #CDA8FD #F8A8FD
triadic
#CDA8FD #FDCDA8 #A8FDCD
tetradic
#CDA8FD #FDA8AD #D8FDA8 #A8FDF8
square
#CDA8FD #FDA8AD #D8FDA8 #A8FDF8
split-complementary
#CDA8FD #FDF8A8 #ADFDA8
monochromatic
#8830FA #AB6CFC #CDA8FD #EEE1FE #EEE1FE

Accessibility & contrast

On white

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

On black

10.62
#CDA8FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDA8FD
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDA8FD#FFFFFF#000000##000000
##CDA8FD1.001.9810.6210.62
#FFFFFF1.981.0021.0021.00
#00000010.6221.001.001.00
##00000010.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#96B7FF
Deuteranopia (green-blind)
#9DB8FB
Tritanopia (blue-blind)
#C5B5C7
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cda8fd;
/* rgb */ color: rgb(205, 168, 253);
/* oklch */ color: oklch(79.5% 0.124 303.7);
Tailwind
colors: {
  custom: {
    50: '#ddc2fe',
    500: '#cda8fd',
    950: '#000000',
  },
}
SCSS
$custom: #cda8fd;
$custom-light: #ddc2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cda8fd",
  "rgb": {
    "r": 205,
    "g": 168,
    "b": 253
  },
  "hsl": {
    "h": 266.118,
    "s": 95.506,
    "l": 82.549
  },
  "oklch": {
    "l": 0.79511,
    "c": 0.12353,
    "h": 303.7
  },
  "luminance": 0.48076
}

Semantic roles & 50–950 ramp

primary
#CDA8FD
secondary
#E8F7D4
accent
#E60082
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #CDA8FD

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

Preview Lab → · Contrast checker → · Palette generator →

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