#CDA2FD#CDA2FD

#CDA2FD is a light, vivid violet. Relative luminance 0.459; OKLCH L 78.5% C 0.133 H 305.2°. Best body text is #000000 at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#CDA2FD
RGBrgb(205, 162, 253)
HSLhsl(268, 96%, 81%)
HSVhsv(268, 36%, 99%)
CMYKcmyk(19%, 36%, 0%, 0.8%)
CIE-LABlab(73.49, 33.00, -39.36)
CIE-LCHlch(73.49, 51.36, 309.98°)
OKLaboklab(78.46% 0.0769 -0.1089)
OKLCHoklch(78.46% 0.133 305.2)
XYZxyz(55.8232, 45.9119, 98.8305)
Luminance0.4591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDA2FD #D2FDA2
analogous
#A2A5FD #CDA2FD #FBA2FD
triadic
#CDA2FD #FDCDA2 #A2FDCD
tetradic
#CDA2FD #FDA2A5 #D2FDA2 #A2FDFB
square
#CDA2FD #FDA2A5 #D2FDA2 #A2FDFB
split-complementary
#CDA2FD #FDFBA2 #A5FDA2
monochromatic
#8D2AFA #AD66FC #CDA2FD #EDDEFE #EFE1FE

Accessibility & contrast

On white

2.06
#CDA2FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.18
#CDA2FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDA2FD
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDA2FD#FFFFFF#000000##000000
##CDA2FD1.002.0610.1810.18
#FFFFFF2.061.0021.0021.00
#00000010.1821.001.001.00
##00000010.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EB3FF
Deuteranopia (green-blind)
#97B5FA
Tritanopia (blue-blind)
#C6B0C4
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cda2fd;
/* rgb */ color: rgb(205, 162, 253);
/* oklch */ color: oklch(78.5% 0.133 305.2);
Tailwind
colors: {
  custom: {
    50: '#ddbefe',
    500: '#cda2fd',
    950: '#000000',
  },
}
SCSS
$custom: #cda2fd;
$custom-light: #ddbefe;
$custom-dark: #000000;
JSON
{
  "hex": "#cda2fd",
  "rgb": {
    "r": 205,
    "g": 162,
    "b": 253
  },
  "hsl": {
    "h": 268.352,
    "s": 95.789,
    "l": 81.373
  },
  "oklch": {
    "l": 0.78457,
    "c": 0.13335,
    "h": 305.2
  },
  "luminance": 0.45912
}

Semantic roles & 50–950 ramp

primary
#CDA2FD
secondary
#E6F7D4
accent
#E60079
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #CDA2FD

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

Preview Lab → · Contrast checker → · Palette generator →

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