#CDA7EF#CDA7EF

#CDA7EF is a light, moderate violet. Relative luminance 0.468; OKLCH L 78.7% C 0.108 H 308.2°. Best body text is #000000 at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#CDA7EF
RGBrgb(205, 167, 239)
HSLhsl(272, 69%, 80%)
HSVhsv(272, 30%, 94%)
CMYKcmyk(14.2%, 30.1%, 0%, 6.3%)
CIE-LABlab(74.09, 27.24, -30.83)
CIE-LCHlch(74.09, 41.14, 311.46°)
OKLaboklab(78.74% 0.0665 -0.0846)
OKLCHoklch(78.74% 0.108 308.2)
XYZxyz(54.5727, 46.8490, 87.8124)
Luminance0.4685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDA7EF #C9EFA7
analogous
#A9A7EF #CDA7EF #EFA7ED
triadic
#CDA7EF #EFCDA7 #A7EFCD
tetradic
#CDA7EF #EFA9A7 #C9EFA7 #A7EDEF
square
#CDA7EF #EFA9A7 #C9EFA7 #A7EDEF
split-complementary
#CDA7EF #EDEFA7 #A7EFA9
monochromatic
#923FDC #B073E6 #CDA7EF #EADBF8 #F0E5FA

Accessibility & contrast

On white

2.03
#CDA7EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.37
#CDA7EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDA7EF
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDA7EF#FFFFFF#000000##000000
##CDA7EF1.002.0310.3710.37
#FFFFFF2.031.0021.0021.00
#00000010.3721.001.001.00
##00000010.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AB5F2
Deuteranopia (green-blind)
#A2B7ED
Tritanopia (blue-blind)
#C9B1C1
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cda7ef;
/* rgb */ color: rgb(205, 167, 239);
/* oklch */ color: oklch(78.7% 0.108 308.2);
Tailwind
colors: {
  custom: {
    50: '#ddc1f4',
    500: '#cda7ef',
    950: '#000000',
  },
}
SCSS
$custom: #cda7ef;
$custom-light: #ddc1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cda7ef",
  "rgb": {
    "r": 205,
    "g": 167,
    "b": 239
  },
  "hsl": {
    "h": 271.667,
    "s": 69.231,
    "l": 79.608
  },
  "oklch": {
    "l": 0.78736,
    "c": 0.10759,
    "h": 308.2
  },
  "luminance": 0.46849
}

Semantic roles & 50–950 ramp

primary
#CDA7EF
secondary
#E5F2D9
accent
#D1146E
background
#FDFBFE
surface
#FBF7FD
border
#D4D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #CDA7EF

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

Preview Lab → · Contrast checker → · Palette generator →

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