#CDA3EC#CDA3EC

#CDA3EC is a light, moderate violet. Relative luminance 0.452; OKLCH L 77.9% C 0.111 H 310.2°. Best body text is #000000 at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#CDA3EC
RGBrgb(205, 163, 236)
HSLhsl(275, 66%, 78%)
HSVhsv(275, 31%, 93%)
CMYKcmyk(13.1%, 30.9%, 0%, 7.5%)
CIE-LABlab(73.04, 28.80, -30.82)
CIE-LCHlch(73.04, 42.18, 313.06°)
OKLaboklab(77.9% 0.0715 -0.0845)
OKLCHoklch(77.9% 0.111 310.2)
XYZxyz(53.4117, 45.2303, 85.2572)
Luminance0.4523 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDA3EC #C2ECA3
analogous
#A8A3EC #CDA3EC #ECA3E6
triadic
#CDA3EC #ECCDA3 #A3ECCD
tetradic
#CDA3EC #ECA8A3 #C2ECA3 #A3E6EC
square
#CDA3EC #ECA8A3 #C2ECA3 #A3E6EC
split-complementary
#CDA3EC #E6ECA3 #A3ECA8
monochromatic
#963ED7 #B170E2 #CDA3EC #E9D6F6 #F1E6FA

Accessibility & contrast

On white

2.09
#CDA3EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.05
#CDA3EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDA3EC
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDA3EC#FFFFFF#000000##000000
##CDA3EC1.002.0910.0510.05
#FFFFFF2.091.0021.0021.00
#00000010.0521.001.001.00
##00000010.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#96B1EF
Deuteranopia (green-blind)
#9FB4EA
Tritanopia (blue-blind)
#CAADBD
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cda3ec;
/* rgb */ color: rgb(205, 163, 236);
/* oklch */ color: oklch(77.9% 0.111 310.2);
Tailwind
colors: {
  custom: {
    50: '#ddbef2',
    500: '#cda3ec',
    950: '#000000',
  },
}
SCSS
$custom: #cda3ec;
$custom-light: #ddbef2;
$custom-dark: #000000;
JSON
{
  "hex": "#cda3ec",
  "rgb": {
    "r": 205,
    "g": 163,
    "b": 236
  },
  "hsl": {
    "h": 274.521,
    "s": 65.766,
    "l": 78.235
  },
  "oklch": {
    "l": 0.77896,
    "c": 0.11069,
    "h": 310.2
  },
  "luminance": 0.4523
}

Semantic roles & 50–950 ramp

primary
#CDA3EC
secondary
#E4F1DA
accent
#CE1865
background
#FDFBFE
surface
#FBF7FD
border
#D4D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #CDA3EC

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

Preview Lab → · Contrast checker → · Palette generator →

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