#CDA7EB#CDA7EB

#CDA7EB is a light, moderate violet. Relative luminance 0.466; OKLCH L 78.6% C 0.103 H 309.6°. Best body text is #000000 at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#CDA7EB
RGBrgb(205, 167, 235)
HSLhsl(274, 63%, 79%)
HSVhsv(274, 29%, 92%)
CMYKcmyk(12.8%, 28.9%, 0%, 7.8%)
CIE-LABlab(73.94, 26.40, -28.89)
CIE-LCHlch(73.94, 39.13, 312.42°)
OKLaboklab(78.57% 0.0654 -0.0791)
OKLCHoklch(78.57% 0.103 309.6)
XYZxyz(53.9883, 46.6153, 84.7347)
Luminance0.4662 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDA7EB #C5EBA7
analogous
#ABA7EB #CDA7EB #EBA7E7
triadic
#CDA7EB #EBCDA7 #A7EBCD
tetradic
#CDA7EB #EBABA7 #C5EBA7 #A7E7EB
square
#CDA7EB #EBABA7 #C5EBA7 #A7E7EB
split-complementary
#CDA7EB #E7EBA7 #A7EBAB
monochromatic
#9443D4 #B175E0 #CDA7EB #E9D9F6 #F1E6F9

Accessibility & contrast

On white

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

On black

10.32
#CDA7EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDA7EB
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDA7EB#FFFFFF#000000##000000
##CDA7EB1.002.0310.3210.32
#FFFFFF2.031.0021.0021.00
#00000010.3221.001.001.00
##00000010.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BB4EE
Deuteranopia (green-blind)
#A3B6E9
Tritanopia (blue-blind)
#CAB0BF
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cda7eb;
/* rgb */ color: rgb(205, 167, 235);
/* oklch */ color: oklch(78.6% 0.103 309.6);
Tailwind
colors: {
  custom: {
    50: '#ddc1f1',
    500: '#cda7eb',
    950: '#000000',
  },
}
SCSS
$custom: #cda7eb;
$custom-light: #ddc1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cda7eb",
  "rgb": {
    "r": 205,
    "g": 167,
    "b": 235
  },
  "hsl": {
    "h": 273.529,
    "s": 62.963,
    "l": 78.824
  },
  "oklch": {
    "l": 0.78571,
    "c": 0.10264,
    "h": 309.6
  },
  "luminance": 0.46615
}

Semantic roles & 50–950 ramp

primary
#CDA7EB
secondary
#E4F1DA
accent
#CB1B68
background
#FDFBFE
surface
#FBF7FD
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #CDA7EB

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

Preview Lab → · Contrast checker → · Palette generator →

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