#CDA8EB#CDA8EB

#CDA8EB is a light, moderate violet. Relative luminance 0.470; OKLCH L 78.8% C 0.101 H 309.3°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#CDA8EB
RGBrgb(205, 168, 235)
HSLhsl(273, 63%, 79%)
HSVhsv(273, 29%, 92%)
CMYKcmyk(12.8%, 28.5%, 0%, 7.8%)
CIE-LABlab(74.18, 25.85, -28.53)
CIE-LCHlch(74.18, 38.50, 312.19°)
OKLaboklab(78.75% 0.064 -0.0781)
OKLCHoklch(78.75% 0.101 309.3)
XYZxyz(54.1722, 46.9831, 84.7960)
Luminance0.4698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDA8EB #C6EBA8
analogous
#ACA8EB #CDA8EB #EBA8E8
triadic
#CDA8EB #EBCDA8 #A8EBCD
tetradic
#CDA8EB #EBACA8 #C6EBA8 #A8E8EB
square
#CDA8EB #EBACA8 #C6EBA8 #A8E8EB
split-complementary
#CDA8EB #E8EBA8 #A8EBAC
monochromatic
#9444D4 #B076E0 #CDA8EB #EADAF6 #F1E6F9

Accessibility & contrast

On white

2.02
#CDA8EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.40
#CDA8EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDA8EB
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDA8EB#FFFFFF#000000##000000
##CDA8EB1.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DB5EE
Deuteranopia (green-blind)
#A4B7E9
Tritanopia (blue-blind)
#CAB1C0
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cda8eb;
/* rgb */ color: rgb(205, 168, 235);
/* oklch */ color: oklch(78.8% 0.101 309.3);
Tailwind
colors: {
  custom: {
    50: '#ddc2f1',
    500: '#cda8eb',
    950: '#000000',
  },
}
SCSS
$custom: #cda8eb;
$custom-light: #ddc2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cda8eb",
  "rgb": {
    "r": 205,
    "g": 168,
    "b": 235
  },
  "hsl": {
    "h": 273.134,
    "s": 62.617,
    "l": 79.02
  },
  "oklch": {
    "l": 0.78752,
    "c": 0.10093,
    "h": 309.3
  },
  "luminance": 0.46983
}

Semantic roles & 50–950 ramp

primary
#CDA8EB
secondary
#E4F1DA
accent
#CA1B6A
background
#FDFBFE
surface
#FBF7FD
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #CDA8EB

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

Preview Lab → · Contrast checker → · Palette generator →

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