#CDA2FE#CDA2FE

#CDA2FE is a light, vivid violet. Relative luminance 0.460; OKLCH L 78.5% C 0.135 H 305.0°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#CDA2FE
RGBrgb(205, 162, 254)
HSLhsl(268, 98%, 82%)
HSVhsv(268, 36%, 100%)
CMYKcmyk(19.3%, 36.2%, 0%, 0.4%)
CIE-LABlab(73.53, 33.22, -39.83)
CIE-LCHlch(73.53, 51.87, 309.83°)
OKLaboklab(78.5% 0.0772 -0.1103)
OKLCHoklch(78.5% 0.135 305)
XYZxyz(55.9829, 45.9758, 99.6717)
Luminance0.4598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDA2FE #D3FEA2
analogous
#A2A5FE #CDA2FE #FBA2FE
triadic
#CDA2FE #FECDA2 #A2FECD
tetradic
#CDA2FE #FEA2A5 #D3FEA2 #A2FEFB
square
#CDA2FE #FEA2A5 #D3FEA2 #A2FEFB
split-complementary
#CDA2FE #FEFBA2 #A5FEA2
monochromatic
#8C29FD #AC65FD #CDA2FE #EEDFFF #EFE1FF

Accessibility & contrast

On white

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

On black

10.20
#CDA2FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDA2FE
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDA2FE#FFFFFF#000000##000000
##CDA2FE1.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cda2fe;
/* rgb */ color: rgb(205, 162, 254);
/* oklch */ color: oklch(78.5% 0.135 305.0);
Tailwind
colors: {
  custom: {
    50: '#ddbeff',
    500: '#cda2fe',
    950: '#000000',
  },
}
SCSS
$custom: #cda2fe;
$custom-light: #ddbeff;
$custom-dark: #000000;
JSON
{
  "hex": "#cda2fe",
  "rgb": {
    "r": 205,
    "g": 162,
    "b": 254
  },
  "hsl": {
    "h": 268.043,
    "s": 97.872,
    "l": 81.569
  },
  "oklch": {
    "l": 0.78503,
    "c": 0.13459,
    "h": 305
  },
  "luminance": 0.45976
}

Semantic roles & 50–950 ramp

primary
#CDA2FE
secondary
#E7F7D4
accent
#E6007A
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #CDA2FE

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

Preview Lab → · Contrast checker → · Palette generator →

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