#CDABF2#CDABF2

#CDABF2 is a light, moderate violet. Relative luminance 0.485; OKLCH L 79.6% C 0.105 H 306.0°. Best body text is #000000 at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#CDABF2
RGBrgb(205, 171, 242)
HSLhsl(269, 73%, 81%)
HSVhsv(269, 29%, 95%)
CMYKcmyk(15.3%, 29.3%, 0%, 5.1%)
CIE-LABlab(75.15, 25.69, -30.83)
CIE-LCHlch(75.15, 40.13, 309.80°)
OKLaboklab(79.58% 0.0616 -0.0846)
OKLCHoklch(79.58% 0.105 306)
XYZxyz(55.7637, 48.5160, 90.4140)
Luminance0.4852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDABF2 #D0F2AB
analogous
#ABACF2 #CDABF2 #F0ABF2
triadic
#CDABF2 #F2CDAB #ABF2CD
tetradic
#CDABF2 #F2ABAC #D0F2AB #ABF2F0
square
#CDABF2 #F2ABAC #D0F2AB #ABF2F0
split-complementary
#CDABF2 #F2F0AB #ACF2AB
monochromatic
#8E41E2 #AD76EA #CDABF2 #EDE0FA #EFE5FB

Accessibility & contrast

On white

1.96
#CDABF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.70
#CDABF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDABF2
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDABF2#FFFFFF#000000##000000
##CDABF21.001.9610.7010.70
#FFFFFF1.961.0021.0021.00
#00000010.7021.001.001.00
##00000010.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EB8F5
Deuteranopia (green-blind)
#A4B9F0
Tritanopia (blue-blind)
#C8B5C4
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cdabf2;
/* rgb */ color: rgb(205, 171, 242);
/* oklch */ color: oklch(79.6% 0.105 306.0);
Tailwind
colors: {
  custom: {
    50: '#ddc4f6',
    500: '#cdabf2',
    950: '#000000',
  },
}
SCSS
$custom: #cdabf2;
$custom-light: #ddc4f6;
$custom-dark: #000000;
JSON
{
  "hex": "#cdabf2",
  "rgb": {
    "r": 205,
    "g": 171,
    "b": 242
  },
  "hsl": {
    "h": 268.732,
    "s": 73.196,
    "l": 80.98
  },
  "oklch": {
    "l": 0.79582,
    "c": 0.10464,
    "h": 306
  },
  "luminance": 0.48516
}

Semantic roles & 50–950 ramp

primary
#CDABF2
secondary
#E6F3D8
accent
#D51077
background
#FDFCFF
surface
#FBF8FE
border
#D4D1D6
text
#151217
muted
#838185

Preview Lab

Preview with #CDABF2

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

Preview Lab → · Contrast checker → · Palette generator →

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