#CDACF4#CDACF4

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

Color values

HEX#CDACF4
RGBrgb(205, 172, 244)
HSLhsl(268, 77%, 82%)
HSVhsv(268, 30%, 96%)
CMYKcmyk(16%, 29.5%, 0%, 4.3%)
CIE-LABlab(75.46, 25.57, -31.43)
CIE-LCHlch(75.46, 40.52, 309.13°)
OKLaboklab(79.85% 0.0607 -0.0863)
OKLCHoklch(79.85% 0.106 305.1)
XYZxyz(56.2553, 49.0161, 92.0678)
Luminance0.4902 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDACF4 #D3F4AC
analogous
#ACAFF4 #CDACF4 #F1ACF4
triadic
#CDACF4 #F4CDAC #ACF4CD
tetradic
#CDACF4 #F4ACAF #D3F4AC #ACF4F1
square
#CDACF4 #F4ACAF #D3F4AC #ACF4F1
split-complementary
#CDACF4 #F4F1AC #AFF4AC
monochromatic
#8C40E6 #AC76ED #CDACF4 #EEE2FB #EFE4FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDACF4#FFFFFF#000000##000000
##CDACF41.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)
#9EB9F7
Deuteranopia (green-blind)
#A4BAF2
Tritanopia (blue-blind)
#C7B6C6
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cdacf4;
/* rgb */ color: rgb(205, 172, 244);
/* oklch */ color: oklch(79.8% 0.106 305.1);
Tailwind
colors: {
  custom: {
    50: '#ddc5f8',
    500: '#cdacf4',
    950: '#000000',
  },
}
SCSS
$custom: #cdacf4;
$custom-light: #ddc5f8;
$custom-dark: #000000;
JSON
{
  "hex": "#cdacf4",
  "rgb": {
    "r": 205,
    "g": 172,
    "b": 244
  },
  "hsl": {
    "h": 267.5,
    "s": 76.596,
    "l": 81.569
  },
  "oklch": {
    "l": 0.79846,
    "c": 0.10551,
    "h": 305.1
  },
  "luminance": 0.49016
}

Semantic roles & 50–950 ramp

primary
#CDACF4
secondary
#E7F3D8
accent
#D90D7B
background
#FDFCFF
surface
#FBF8FF
border
#D4D1D7
text
#151217
muted
#838185

Preview Lab

Preview with #CDACF4

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

Preview Lab → · Contrast checker → · Palette generator →

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