#CDA8EF#CDA8EF

#CDA8EF is a light, moderate violet. Relative luminance 0.472; OKLCH L 78.9% C 0.106 H 307.9°. Best body text is #000000 at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#CDA8EF
RGBrgb(205, 168, 239)
HSLhsl(271, 69%, 80%)
HSVhsv(271, 30%, 94%)
CMYKcmyk(14.2%, 29.7%, 0%, 6.3%)
CIE-LABlab(74.33, 26.70, -30.47)
CIE-LCHlch(74.33, 40.51, 311.22°)
OKLaboklab(78.92% 0.0651 -0.0836)
OKLCHoklch(78.92% 0.106 307.9)
XYZxyz(54.7566, 47.2168, 87.8737)
Luminance0.4722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDA8EF #CAEFA8
analogous
#AAA8EF #CDA8EF #EFA8ED
triadic
#CDA8EF #EFCDA8 #A8EFCD
tetradic
#CDA8EF #EFAAA8 #CAEFA8 #A8EDEF
square
#CDA8EF #EFAAA8 #CAEFA8 #A8EDEF
split-complementary
#CDA8EF #EDEFA8 #A8EFAA
monochromatic
#9241DC #AF74E5 #CDA8EF #EBDCF9 #F0E5FA

Accessibility & contrast

On white

2.01
#CDA8EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.44
#CDA8EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDA8EF
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDA8EF#FFFFFF#000000##000000
##CDA8EF1.002.0110.4410.44
#FFFFFF2.011.0021.0021.00
#00000010.4421.001.001.00
##00000010.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BB5F2
Deuteranopia (green-blind)
#A3B7ED
Tritanopia (blue-blind)
#C9B2C1
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cda8ef;
/* rgb */ color: rgb(205, 168, 239);
/* oklch */ color: oklch(78.9% 0.106 307.9);
Tailwind
colors: {
  custom: {
    50: '#ddc2f4',
    500: '#cda8ef',
    950: '#000000',
  },
}
SCSS
$custom: #cda8ef;
$custom-light: #ddc2f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cda8ef",
  "rgb": {
    "r": 205,
    "g": 168,
    "b": 239
  },
  "hsl": {
    "h": 271.268,
    "s": 68.932,
    "l": 79.804
  },
  "oklch": {
    "l": 0.78916,
    "c": 0.1059,
    "h": 307.9
  },
  "luminance": 0.47216
}

Semantic roles & 50–950 ramp

primary
#CDA8EF
secondary
#E5F2D9
accent
#D1156F
background
#FDFBFE
surface
#FBF7FD
border
#D4D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #CDA8EF

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

Preview Lab → · Contrast checker → · Palette generator →

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