#CDACF5#CDACF5

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

Color values

HEX#CDACF5
RGBrgb(205, 172, 245)
HSLhsl(267, 78%, 82%)
HSVhsv(267, 30%, 96%)
CMYKcmyk(16.3%, 29.8%, 0%, 3.9%)
CIE-LABlab(75.50, 25.79, -31.91)
CIE-LCHlch(75.50, 41.03, 308.94°)
OKLaboklab(79.89% 0.0609 -0.0877)
OKLCHoklch(79.89% 0.107 304.8)
XYZxyz(56.4075, 49.0770, 92.8696)
Luminance0.4908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDACF5 #D4F5AC
analogous
#ACB0F5 #CDACF5 #F2ACF5
triadic
#CDACF5 #F5CDAC #ACF5CD
tetradic
#CDACF5 #F5ACB0 #D4F5AC #ACF5F2
square
#CDACF5 #F5ACB0 #D4F5AC #ACF5F2
split-complementary
#CDACF5 #F5F2AC #B0F5AC
monochromatic
#8B3FE8 #AC75EE #CDACF5 #EEE3FC #EFE4FC

Accessibility & contrast

On white

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

On black

10.82
#CDACF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDACF5
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDACF5#FFFFFF#000000##000000
##CDACF51.001.9410.8210.82
#FFFFFF1.941.0021.0021.00
#00000010.8221.001.001.00
##00000010.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EB9F8
Deuteranopia (green-blind)
#A4BAF3
Tritanopia (blue-blind)
#C7B7C6
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cdacf5;
/* rgb */ color: rgb(205, 172, 245);
/* oklch */ color: oklch(79.9% 0.107 304.8);
Tailwind
colors: {
  custom: {
    50: '#ddc5f8',
    500: '#cdacf5',
    950: '#000000',
  },
}
SCSS
$custom: #cdacf5;
$custom-light: #ddc5f8;
$custom-dark: #000000;
JSON
{
  "hex": "#cdacf5",
  "rgb": {
    "r": 205,
    "g": 172,
    "b": 245
  },
  "hsl": {
    "h": 267.123,
    "s": 78.495,
    "l": 81.765
  },
  "oklch": {
    "l": 0.79887,
    "c": 0.10678,
    "h": 304.8
  },
  "luminance": 0.49077
}

Semantic roles & 50–950 ramp

primary
#CDACF5
secondary
#E7F4D7
accent
#DB0B7D
background
#FDFCFF
surface
#FBF8FF
border
#D4D1D7
text
#151217
muted
#838185

Preview Lab

Preview with #CDACF5

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

Preview Lab → · Contrast checker → · Palette generator →

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