#CDA1EB#CDA1EB

#CDA1EB is a light, moderate violet. Relative luminance 0.445; OKLCH L 77.5% C 0.113 H 311.0°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#CDA1EB
RGBrgb(205, 161, 235)
HSLhsl(276, 65%, 78%)
HSVhsv(276, 31%, 92%)
CMYKcmyk(12.8%, 31.5%, 0%, 7.8%)
CIE-LABlab(72.54, 29.68, -31.05)
CIE-LCHlch(72.54, 42.96, 313.71°)
OKLaboklab(77.5% 0.0741 -0.0852)
OKLCHoklch(77.5% 0.113 311)
XYZxyz(52.9145, 44.4677, 84.3767)
Luminance0.4447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDA1EB #BFEBA1
analogous
#A8A1EB #CDA1EB #EBA1E4
triadic
#CDA1EB #EBCDA1 #A1EBCD
tetradic
#CDA1EB #EBA8A1 #BFEBA1 #A1E4EB
square
#CDA1EB #EBA8A1 #BFEBA1 #A1E4EB
split-complementary
#CDA1EB #E4EBA1 #A1EBA8
monochromatic
#973CD6 #B26FE0 #CDA1EB #E8D3F6 #F2E6FA

Accessibility & contrast

On white

2.12
#CDA1EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.89
#CDA1EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDA1EB
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDA1EB#FFFFFF#000000##000000
##CDA1EB1.002.129.899.89
#FFFFFF2.121.0021.0021.00
#0000009.8921.001.001.00
##0000009.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#94B0EE
Deuteranopia (green-blind)
#9EB3E9
Tritanopia (blue-blind)
#CAABBC
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cda1eb;
/* rgb */ color: rgb(205, 161, 235);
/* oklch */ color: oklch(77.5% 0.113 311.0);
Tailwind
colors: {
  custom: {
    50: '#ddbdf1',
    500: '#cda1eb',
    950: '#000000',
  },
}
SCSS
$custom: #cda1eb;
$custom-light: #ddbdf1;
$custom-dark: #000000;
JSON
{
  "hex": "#cda1eb",
  "rgb": {
    "r": 205,
    "g": 161,
    "b": 235
  },
  "hsl": {
    "h": 275.676,
    "s": 64.912,
    "l": 77.647
  },
  "oklch": {
    "l": 0.77499,
    "c": 0.1129,
    "h": 311
  },
  "luminance": 0.44467
}

Semantic roles & 50–950 ramp

primary
#CDA1EB
secondary
#E3F1DA
accent
#CD1962
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #CDA1EB

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

Preview Lab → · Contrast checker → · Palette generator →

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