#CDABFD#CDABFD

#CDABFD is a light, moderate violet. Relative luminance 0.492; OKLCH L 80.0% C 0.119 H 302.8°. Best body text is #000000 at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#CDABFD
RGBrgb(205, 171, 253)
HSLhsl(265, 95%, 83%)
HSVhsv(265, 32%, 99%)
CMYKcmyk(19%, 32.4%, 0%, 0.8%)
CIE-LABlab(75.57, 28.08, -36.12)
CIE-LCHlch(75.57, 45.75, 307.86°)
OKLaboklab(80.05% 0.0644 -0.0997)
OKLCHoklch(80.05% 0.119 302.8)
XYZxyz(57.4657, 49.1969, 99.3780)
Luminance0.4920 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDABFD #DBFDAB
analogous
#ABB2FD #CDABFD #F6ABFD
triadic
#CDABFD #FDCDAB #ABFDCD
tetradic
#CDABFD #FDABB2 #DBFDAB #ABFDF6
square
#CDABFD #FDABB2 #DBFDAB #ABFDF6
split-complementary
#CDABFD #FDF6AB #B2FDAB
monochromatic
#8633FA #A96FFC #CDABFD #EDE1FE #EDE1FE

Accessibility & contrast

On white

1.94
#CDABFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.84
#CDABFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDABFD
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDABFD#FFFFFF#000000##000000
##CDABFD1.001.9410.8410.84
#FFFFFF1.941.0021.0021.00
#00000010.8421.001.001.00
##00000010.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#99B9FF
Deuteranopia (green-blind)
#A0BAFB
Tritanopia (blue-blind)
#C5B7C9
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cdabfd;
/* rgb */ color: rgb(205, 171, 253);
/* oklch */ color: oklch(80.0% 0.119 302.8);
Tailwind
colors: {
  custom: {
    50: '#ddc4fe',
    500: '#cdabfd',
    950: '#000000',
  },
}
SCSS
$custom: #cdabfd;
$custom-light: #ddc4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cdabfd",
  "rgb": {
    "r": 205,
    "g": 171,
    "b": 253
  },
  "hsl": {
    "h": 264.878,
    "s": 95.349,
    "l": 83.137
  },
  "oklch": {
    "l": 0.80046,
    "c": 0.11864,
    "h": 302.8
  },
  "luminance": 0.49197
}

Semantic roles & 50–950 ramp

primary
#CDABFD
secondary
#E8F7D4
accent
#E60086
background
#FDFCFF
surface
#FBF8FF
border
#D4D1D7
text
#151218
muted
#838186

Preview Lab

Preview with #CDABFD

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

Preview Lab → · Contrast checker → · Palette generator →

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