#CDABFA#CDABFA

#CDABFA is a light, moderate violet. Relative luminance 0.490; OKLCH L 79.9% C 0.115 H 303.7°. Best body text is #000000 at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#CDABFA
RGBrgb(205, 171, 250)
HSLhsl(266, 89%, 83%)
HSVhsv(266, 32%, 98%)
CMYKcmyk(18%, 31.6%, 0%, 2%)
CIE-LABlab(75.46, 27.42, -34.68)
CIE-LCHlch(75.46, 44.21, 308.33°)
OKLaboklab(79.92% 0.0636 -0.0956)
OKLCHoklch(79.92% 0.115 303.7)
XYZxyz(56.9916, 49.0072, 96.8808)
Luminance0.4901 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDABFA #D8FAAB
analogous
#ABB0FA #CDABFA #F5ABFA
triadic
#CDABFA #FACDAB #ABFACD
tetradic
#CDABFA #FAABB0 #D8FAAB #ABFAF5
square
#CDABFA #FAABB0 #D8FAAB #ABFAF5
split-complementary
#CDABFA #FAF5AB #B0FAAB
monochromatic
#8837F3 #AB71F7 #CDABFA #EEE2FD #EEE2FD

Accessibility & contrast

On white

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

On black

10.80
#CDABFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDABFA
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDABFA#FFFFFF#000000##000000
##CDABFA1.001.9410.8010.80
#FFFFFF1.941.0021.0021.00
#00000010.8021.001.001.00
##00000010.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BB9FD
Deuteranopia (green-blind)
#A1BAF8
Tritanopia (blue-blind)
#C6B7C8
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cdabfa;
/* rgb */ color: rgb(205, 171, 250);
/* oklch */ color: oklch(79.9% 0.115 303.7);
Tailwind
colors: {
  custom: {
    50: '#ddc4fc',
    500: '#cdabfa',
    950: '#000000',
  },
}
SCSS
$custom: #cdabfa;
$custom-light: #ddc4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cdabfa",
  "rgb": {
    "r": 205,
    "g": 171,
    "b": 250
  },
  "hsl": {
    "h": 265.823,
    "s": 88.764,
    "l": 82.549
  },
  "oklch": {
    "l": 0.79917,
    "c": 0.11481,
    "h": 303.7
  },
  "luminance": 0.49007
}

Semantic roles & 50–950 ramp

primary
#CDABFA
secondary
#E8F5D6
accent
#E50083
background
#FDFCFF
surface
#FBF8FF
border
#D4D1D7
text
#151217
muted
#838185

Preview Lab

Preview with #CDABFA

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

Preview Lab → · Contrast checker → · Palette generator →

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