#CDA2EF#CDA2EF

#CDA2EF is a light, moderate violet. Relative luminance 0.451; OKLCH L 77.8% C 0.116 H 309.4°. Best body text is #000000 at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#CDA2EF
RGBrgb(205, 162, 239)
HSLhsl(274, 71%, 79%)
HSVhsv(274, 32%, 94%)
CMYKcmyk(14.2%, 32.2%, 0%, 6.3%)
CIE-LABlab(72.93, 29.98, -32.63)
CIE-LCHlch(72.93, 44.31, 312.57°)
OKLaboklab(77.85% 0.0737 -0.0897)
OKLCHoklch(77.85% 0.116 309.4)
XYZxyz(53.6743, 45.0524, 87.5130)
Luminance0.4505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDA2EF #C4EFA2
analogous
#A6A2EF #CDA2EF #EFA2EB
triadic
#CDA2EF #EFCDA2 #A2EFCD
tetradic
#CDA2EF #EFA6A2 #C4EFA2 #A2EBEF
square
#CDA2EF #EFA6A2 #C4EFA2 #A2EBEF
split-complementary
#CDA2EF #EBEFA2 #A2EFA6
monochromatic
#953ADD #B16EE6 #CDA2EF #E9D6F8 #F1E5FB

Accessibility & contrast

On white

2.10
#CDA2EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.01
#CDA2EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDA2EF
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDA2EF#FFFFFF#000000##000000
##CDA2EF1.002.1010.0110.01
#FFFFFF2.101.0021.0021.00
#00000010.0121.001.001.00
##00000010.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#94B1F2
Deuteranopia (green-blind)
#9DB4ED
Tritanopia (blue-blind)
#C9ADBE
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cda2ef;
/* rgb */ color: rgb(205, 162, 239);
/* oklch */ color: oklch(77.8% 0.116 309.4);
Tailwind
colors: {
  custom: {
    50: '#ddbef4',
    500: '#cda2ef',
    950: '#000000',
  },
}
SCSS
$custom: #cda2ef;
$custom-light: #ddbef4;
$custom-dark: #000000;
JSON
{
  "hex": "#cda2ef",
  "rgb": {
    "r": 205,
    "g": 162,
    "b": 239
  },
  "hsl": {
    "h": 273.506,
    "s": 70.642,
    "l": 78.627
  },
  "oklch": {
    "l": 0.77845,
    "c": 0.11606,
    "h": 309.4
  },
  "luminance": 0.45052
}

Semantic roles & 50–950 ramp

primary
#CDA2EF
secondary
#E4F2D9
accent
#D31368
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #CDA2EF

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

Preview Lab → · Contrast checker → · Palette generator →

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