#CDA4EC#CDA4EC

#CDA4EC is a light, moderate violet. Relative luminance 0.456; OKLCH L 78.1% C 0.109 H 310.0°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#CDA4EC
RGBrgb(205, 164, 236)
HSLhsl(274, 65%, 78%)
HSVhsv(274, 31%, 93%)
CMYKcmyk(13.1%, 30.5%, 0%, 7.5%)
CIE-LABlab(73.28, 28.25, -30.46)
CIE-LCHlch(73.28, 41.54, 312.85°)
OKLaboklab(78.07% 0.07 -0.0835)
OKLCHoklch(78.07% 0.109 310)
XYZxyz(53.5899, 45.5868, 85.3166)
Luminance0.4559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDA4EC #C3ECA4
analogous
#A9A4EC #CDA4EC #ECA4E7
triadic
#CDA4EC #ECCDA4 #A4ECCD
tetradic
#CDA4EC #ECA9A4 #C3ECA4 #A4E7EC
square
#CDA4EC #ECA9A4 #C3ECA4 #A4E7EC
split-complementary
#CDA4EC #E7ECA4 #A4ECA9
monochromatic
#953FD7 #B171E1 #CDA4EC #E9D7F7 #F1E6FA

Accessibility & contrast

On white

2.08
#CDA4EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.12
#CDA4EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDA4EC
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDA4EC#FFFFFF#000000##000000
##CDA4EC1.002.0810.1210.12
#FFFFFF2.081.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#98B2EF
Deuteranopia (green-blind)
#A0B5EA
Tritanopia (blue-blind)
#CAAEBE
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cda4ec;
/* rgb */ color: rgb(205, 164, 236);
/* oklch */ color: oklch(78.1% 0.109 310.0);
Tailwind
colors: {
  custom: {
    50: '#ddbff2',
    500: '#cda4ec',
    950: '#000000',
  },
}
SCSS
$custom: #cda4ec;
$custom-light: #ddbff2;
$custom-dark: #000000;
JSON
{
  "hex": "#cda4ec",
  "rgb": {
    "r": 205,
    "g": 164,
    "b": 236
  },
  "hsl": {
    "h": 274.167,
    "s": 65.455,
    "l": 78.431
  },
  "oklch": {
    "l": 0.78074,
    "c": 0.10899,
    "h": 310
  },
  "luminance": 0.45586
}

Semantic roles & 50–950 ramp

primary
#CDA4EC
secondary
#E4F1DA
accent
#CD1866
background
#FDFBFE
surface
#FBF7FD
border
#D4D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #CDA4EC

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

Preview Lab → · Contrast checker → · Palette generator →

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