#CDACF6#CDACF6

#CDACF6 is a light, moderate violet. Relative luminance 0.491; OKLCH L 79.9% C 0.108 H 304.5°. Best body text is #000000 at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#CDACF6
RGBrgb(205, 172, 246)
HSLhsl(267, 80%, 82%)
HSVhsv(267, 30%, 96%)
CMYKcmyk(16.7%, 30.1%, 0%, 3.5%)
CIE-LABlab(75.54, 26.00, -32.40)
CIE-LCHlch(75.54, 41.54, 308.75°)
OKLaboklab(79.93% 0.0612 -0.0891)
OKLCHoklch(79.93% 0.108 304.5)
XYZxyz(56.5606, 49.1382, 93.6758)
Luminance0.4914 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDACF6 #D5F6AC
analogous
#ACB0F6 #CDACF6 #F2ACF6
triadic
#CDACF6 #F6CDAC #ACF6CD
tetradic
#CDACF6 #F6ACB0 #D5F6AC #ACF6F2
square
#CDACF6 #F6ACB0 #D5F6AC #ACF6F2
split-complementary
#CDACF6 #F6F2AC #B0F6AC
monochromatic
#8A3EEA #AC75F0 #CDACF6 #EEE3FC #EEE3FC

Accessibility & contrast

On white

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

On black

10.83
#CDACF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDACF6
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDACF6#FFFFFF#000000##000000
##CDACF61.001.9410.8310.83
#FFFFFF1.941.0021.0021.00
#00000010.8321.001.001.00
##00000010.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DB9F9
Deuteranopia (green-blind)
#A4BAF4
Tritanopia (blue-blind)
#C7B7C7
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cdacf6;
/* rgb */ color: rgb(205, 172, 246);
/* oklch */ color: oklch(79.9% 0.108 304.5);
Tailwind
colors: {
  custom: {
    50: '#ddc5f9',
    500: '#cdacf6',
    950: '#000000',
  },
}
SCSS
$custom: #cdacf6;
$custom-light: #ddc5f9;
$custom-dark: #000000;
JSON
{
  "hex": "#cdacf6",
  "rgb": {
    "r": 205,
    "g": 172,
    "b": 246
  },
  "hsl": {
    "h": 266.757,
    "s": 80.435,
    "l": 81.961
  },
  "oklch": {
    "l": 0.79929,
    "c": 0.10806,
    "h": 304.5
  },
  "luminance": 0.49138
}

Semantic roles & 50–950 ramp

primary
#CDACF6
secondary
#E7F4D7
accent
#DD097E
background
#FDFCFF
surface
#FBF8FF
border
#D4D1D7
text
#151217
muted
#838185

Preview Lab

Preview with #CDACF6

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

Preview Lab → · Contrast checker → · Palette generator →

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