#CDA5EF#CDA5EF

#CDA5EF is a light, moderate violet. Relative luminance 0.461; OKLCH L 78.4% C 0.111 H 308.7°. Best body text is #000000 at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#CDA5EF
RGBrgb(205, 165, 239)
HSLhsl(272, 70%, 79%)
HSVhsv(272, 31%, 94%)
CMYKcmyk(14.2%, 31%, 0%, 6.3%)
CIE-LABlab(73.62, 28.34, -31.55)
CIE-LCHlch(73.62, 42.41, 311.93°)
OKLaboklab(78.38% 0.0694 -0.0866)
OKLCHoklch(78.38% 0.111 308.7)
XYZxyz(54.2091, 46.1219, 87.6913)
Luminance0.4612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDA5EF #C7EFA5
analogous
#A8A5EF #CDA5EF #EFA5EC
triadic
#CDA5EF #EFCDA5 #A5EFCD
tetradic
#CDA5EF #EFA8A5 #C7EFA5 #A5ECEF
square
#CDA5EF #EFA8A5 #C7EFA5 #A5ECEF
split-complementary
#CDA5EF #ECEFA5 #A5EFA8
monochromatic
#933DDD #B071E6 #CDA5EF #EAD9F8 #F1E5FA

Accessibility & contrast

On white

2.05
#CDA5EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.22
#CDA5EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDA5EF
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDA5EF#FFFFFF#000000##000000
##CDA5EF1.002.0510.2210.22
#FFFFFF2.051.0021.0021.00
#00000010.2221.001.001.00
##00000010.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#98B3F2
Deuteranopia (green-blind)
#A0B6ED
Tritanopia (blue-blind)
#C9AFC0
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cda5ef;
/* rgb */ color: rgb(205, 165, 239);
/* oklch */ color: oklch(78.4% 0.111 308.7);
Tailwind
colors: {
  custom: {
    50: '#ddc0f4',
    500: '#cda5ef',
    950: '#000000',
  },
}
SCSS
$custom: #cda5ef;
$custom-light: #ddc0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cda5ef",
  "rgb": {
    "r": 205,
    "g": 165,
    "b": 239
  },
  "hsl": {
    "h": 272.432,
    "s": 69.811,
    "l": 79.216
  },
  "oklch": {
    "l": 0.78378,
    "c": 0.11098,
    "h": 308.7
  },
  "luminance": 0.46121
}

Semantic roles & 50–950 ramp

primary
#CDA5EF
secondary
#E4F2D9
accent
#D2146B
background
#FDFBFE
surface
#FBF7FD
border
#D4D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #CDA5EF

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

Preview Lab → · Contrast checker → · Palette generator →

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