#CDA1EF#CDA1EF

#CDA1EF is a light, moderate violet. Relative luminance 0.447; OKLCH L 77.7% C 0.118 H 309.6°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#CDA1EF
RGBrgb(205, 161, 239)
HSLhsl(274, 71%, 78%)
HSVhsv(274, 33%, 94%)
CMYKcmyk(14.2%, 32.6%, 0%, 6.3%)
CIE-LABlab(72.69, 30.53, -32.99)
CIE-LCHlch(72.69, 44.94, 312.78°)
OKLaboklab(77.67% 0.0751 -0.0907)
OKLCHoklch(77.67% 0.118 309.6)
XYZxyz(53.4989, 44.7015, 87.4545)
Luminance0.4470 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDA1EF #C3EFA1
analogous
#A6A1EF #CDA1EF #EFA1EA
triadic
#CDA1EF #EFCDA1 #A1EFCD
tetradic
#CDA1EF #EFA6A1 #C3EFA1 #A1EAEF
square
#CDA1EF #EFA6A1 #C3EFA1 #A1EAEF
split-complementary
#CDA1EF #EAEFA1 #A1EFA6
monochromatic
#9538DD #B16DE6 #CDA1EF #E9D5F8 #F1E5FB

Accessibility & contrast

On white

2.11
#CDA1EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.94
#CDA1EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDA1EF
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDA1EF#FFFFFF#000000##000000
##CDA1EF1.002.119.949.94
#FFFFFF2.111.0021.0021.00
#0000009.9421.001.001.00
##0000009.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#93B0F2
Deuteranopia (green-blind)
#9CB3ED
Tritanopia (blue-blind)
#C9ACBD
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cda1ef;
/* rgb */ color: rgb(205, 161, 239);
/* oklch */ color: oklch(77.7% 0.118 309.6);
Tailwind
colors: {
  custom: {
    50: '#ddbdf4',
    500: '#cda1ef',
    950: '#000000',
  },
}
SCSS
$custom: #cda1ef;
$custom-light: #ddbdf4;
$custom-dark: #000000;
JSON
{
  "hex": "#cda1ef",
  "rgb": {
    "r": 205,
    "g": 161,
    "b": 239
  },
  "hsl": {
    "h": 273.846,
    "s": 70.909,
    "l": 78.431
  },
  "oklch": {
    "l": 0.77668,
    "c": 0.11775,
    "h": 309.6
  },
  "luminance": 0.44701
}

Semantic roles & 50–950 ramp

primary
#CDA1EF
secondary
#E4F2D9
accent
#D31366
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #CDA1EF

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

Preview Lab → · Contrast checker → · Palette generator →

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