#CDA5FD#CDA5FD

#CDA5FD is a light, vivid violet. Relative luminance 0.470; OKLCH L 79.0% C 0.128 H 304.5°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#CDA5FD
RGBrgb(205, 165, 253)
HSLhsl(267, 96%, 82%)
HSVhsv(267, 35%, 99%)
CMYKcmyk(19%, 34.8%, 0%, 0.8%)
CIE-LABlab(74.18, 31.36, -38.28)
CIE-LCHlch(74.18, 49.49, 309.32°)
OKLaboklab(78.98% 0.0728 -0.1058)
OKLCHoklch(78.98% 0.128 304.5)
XYZxyz(56.3580, 46.9814, 99.0087)
Luminance0.4698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDA5FD #D5FDA5
analogous
#A5A9FD #CDA5FD #F9A5FD
triadic
#CDA5FD #FDCDA5 #A5FDCD
tetradic
#CDA5FD #FDA5A9 #D5FDA5 #A5FDF9
square
#CDA5FD #FDA5A9 #D5FDA5 #A5FDF9
split-complementary
#CDA5FD #FDF9A5 #A9FDA5
monochromatic
#8A2DFA #AC69FC #CDA5FD #EEE1FE #EEE1FE

Accessibility & contrast

On white

2.02
#CDA5FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.40
#CDA5FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDA5FD
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDA5FD#FFFFFF#000000##000000
##CDA5FD1.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#92B5FF
Deuteranopia (green-blind)
#9AB6FB
Tritanopia (blue-blind)
#C6B2C6
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cda5fd;
/* rgb */ color: rgb(205, 165, 253);
/* oklch */ color: oklch(79.0% 0.128 304.5);
Tailwind
colors: {
  custom: {
    50: '#ddc0fe',
    500: '#cda5fd',
    950: '#000000',
  },
}
SCSS
$custom: #cda5fd;
$custom-light: #ddc0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cda5fd",
  "rgb": {
    "r": 205,
    "g": 165,
    "b": 253
  },
  "hsl": {
    "h": 267.273,
    "s": 95.652,
    "l": 81.961
  },
  "oklch": {
    "l": 0.78982,
    "c": 0.12844,
    "h": 304.5
  },
  "luminance": 0.46981
}

Semantic roles & 50–950 ramp

primary
#CDA5FD
secondary
#E7F7D4
accent
#E6007D
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #CDA5FD

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

Preview Lab → · Contrast checker → · Palette generator →

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