#CDA8EA#CDA8EA

#CDA8EA is a light, moderate violet. Relative luminance 0.469; OKLCH L 78.7% C 0.100 H 309.7°. Best body text is #000000 at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#CDA8EA
RGBrgb(205, 168, 234)
HSLhsl(274, 61%, 79%)
HSVhsv(274, 28%, 92%)
CMYKcmyk(12.4%, 28.2%, 0%, 8.2%)
CIE-LABlab(74.14, 25.64, -28.04)
CIE-LCHlch(74.14, 38.00, 312.45°)
OKLaboklab(78.71% 0.0637 -0.0767)
OKLCHoklch(78.71% 0.1 309.7)
XYZxyz(54.0281, 46.9254, 84.0372)
Luminance0.4693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDA8EA #C5EAA8
analogous
#ACA8EA #CDA8EA #EAA8E6
triadic
#CDA8EA #EACDA8 #A8EACD
tetradic
#CDA8EA #EAACA8 #C5EAA8 #A8E6EA
square
#CDA8EA #EAACA8 #C5EAA8 #A8E6EA
split-complementary
#CDA8EA #E6EAA8 #A8EAAC
monochromatic
#9445D2 #B177DE #CDA8EA #E9D9F6 #F1E6F9

Accessibility & contrast

On white

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

On black

10.39
#CDA8EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDA8EA
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDA8EA#FFFFFF#000000##000000
##CDA8EA1.002.0210.3910.39
#FFFFFF2.021.0021.0021.00
#00000010.3921.001.001.00
##00000010.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DB5ED
Deuteranopia (green-blind)
#A4B7E8
Tritanopia (blue-blind)
#CAB1BF
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cda8ea;
/* rgb */ color: rgb(205, 168, 234);
/* oklch */ color: oklch(78.7% 0.100 309.7);
Tailwind
colors: {
  custom: {
    50: '#ddc2f1',
    500: '#cda8ea',
    950: '#000000',
  },
}
SCSS
$custom: #cda8ea;
$custom-light: #ddc2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cda8ea",
  "rgb": {
    "r": 205,
    "g": 168,
    "b": 234
  },
  "hsl": {
    "h": 273.636,
    "s": 61.111,
    "l": 78.824
  },
  "oklch": {
    "l": 0.78712,
    "c": 0.09969,
    "h": 309.7
  },
  "luminance": 0.46925
}

Semantic roles & 50–950 ramp

primary
#CDA8EA
secondary
#E4F0DB
accent
#C91D68
background
#FDFBFE
surface
#FBF7FD
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #CDA8EA

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

Preview Lab → · Contrast checker → · Palette generator →

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