#CDABF6#CDABF6

#CDABF6 is a light, moderate violet. Relative luminance 0.488; OKLCH L 79.7% C 0.110 H 304.8°. Best body text is #000000 at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#CDABF6
RGBrgb(205, 171, 246)
HSLhsl(267, 81%, 82%)
HSVhsv(267, 30%, 96%)
CMYKcmyk(16.7%, 30.5%, 0%, 3.5%)
CIE-LABlab(75.30, 26.55, -32.76)
CIE-LCHlch(75.30, 42.17, 309.02°)
OKLaboklab(79.75% 0.0626 -0.0901)
OKLCHoklch(79.75% 0.11 304.8)
XYZxyz(56.3710, 48.7590, 93.6126)
Luminance0.4876 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDABF6 #D4F6AB
analogous
#ABAFF6 #CDABF6 #F3ABF6
triadic
#CDABF6 #F6CDAB #ABF6CD
tetradic
#CDABF6 #F6ABAF #D4F6AB #ABF6F3
square
#CDABF6 #F6ABAF #D4F6AB #ABF6F3
split-complementary
#CDABF6 #F6F3AB #AFF6AB
monochromatic
#8B3CEA #AC74F0 #CDABF6 #EEE2FC #EFE3FC

Accessibility & contrast

On white

1.95
#CDABF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.75
#CDABF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDABF6
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDABF6#FFFFFF#000000##000000
##CDABF61.001.9510.7510.75
#FFFFFF1.951.0021.0021.00
#00000010.7521.001.001.00
##00000010.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CB8F9
Deuteranopia (green-blind)
#A3BAF4
Tritanopia (blue-blind)
#C7B6C6
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cdabf6;
/* rgb */ color: rgb(205, 171, 246);
/* oklch */ color: oklch(79.7% 0.110 304.8);
Tailwind
colors: {
  custom: {
    50: '#ddc4f9',
    500: '#cdabf6',
    950: '#000000',
  },
}
SCSS
$custom: #cdabf6;
$custom-light: #ddc4f9;
$custom-dark: #000000;
JSON
{
  "hex": "#cdabf6",
  "rgb": {
    "r": 205,
    "g": 171,
    "b": 246
  },
  "hsl": {
    "h": 267.2,
    "s": 80.645,
    "l": 81.765
  },
  "oklch": {
    "l": 0.79748,
    "c": 0.10971,
    "h": 304.8
  },
  "luminance": 0.48759
}

Semantic roles & 50–950 ramp

primary
#CDABF6
secondary
#E7F4D7
accent
#DD097D
background
#FDFCFF
surface
#FBF8FF
border
#D4D1D7
text
#151217
muted
#838185

Preview Lab

Preview with #CDABF6

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

Preview Lab → · Contrast checker → · Palette generator →

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