#CDA4EF#CDA4EF

#CDA4EF is a light, moderate violet. Relative luminance 0.458; OKLCH L 78.2% C 0.113 H 308.9°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#CDA4EF
RGBrgb(205, 164, 239)
HSLhsl(273, 70%, 79%)
HSVhsv(273, 31%, 94%)
CMYKcmyk(14.2%, 31.4%, 0%, 6.3%)
CIE-LABlab(73.39, 28.88, -31.91)
CIE-LCHlch(73.39, 43.04, 312.15°)
OKLaboklab(78.2% 0.0708 -0.0876)
OKLCHoklch(78.2% 0.113 308.9)
XYZxyz(54.0294, 45.7626, 87.6314)
Luminance0.4576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDA4EF #C6EFA4
analogous
#A8A4EF #CDA4EF #EFA4EC
triadic
#CDA4EF #EFCDA4 #A4EFCD
tetradic
#CDA4EF #EFA8A4 #C6EFA4 #A4ECEF
square
#CDA4EF #EFA8A4 #C6EFA4 #A4ECEF
split-complementary
#CDA4EF #ECEFA4 #A4EFA8
monochromatic
#943CDD #B070E6 #CDA4EF #EAD8F8 #F1E5FA

Accessibility & contrast

On white

2.07
#CDA4EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.15
#CDA4EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDA4EF
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDA4EF#FFFFFF#000000##000000
##CDA4EF1.002.0710.1510.15
#FFFFFF2.071.0021.0021.00
#00000010.1521.001.001.00
##00000010.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#96B2F2
Deuteranopia (green-blind)
#9FB5ED
Tritanopia (blue-blind)
#C9AEBF
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cda4ef;
/* rgb */ color: rgb(205, 164, 239);
/* oklch */ color: oklch(78.2% 0.113 308.9);
Tailwind
colors: {
  custom: {
    50: '#ddbff4',
    500: '#cda4ef',
    950: '#000000',
  },
}
SCSS
$custom: #cda4ef;
$custom-light: #ddbff4;
$custom-dark: #000000;
JSON
{
  "hex": "#cda4ef",
  "rgb": {
    "r": 205,
    "g": 164,
    "b": 239
  },
  "hsl": {
    "h": 272.8,
    "s": 70.093,
    "l": 79.02
  },
  "oklch": {
    "l": 0.78199,
    "c": 0.11267,
    "h": 308.9
  },
  "luminance": 0.45762
}

Semantic roles & 50–950 ramp

primary
#CDA4EF
secondary
#E4F2D9
accent
#D2136A
background
#FDFBFE
surface
#FBF7FD
border
#D4D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #CDA4EF

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

Preview Lab → · Contrast checker → · Palette generator →

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