#CDACFE#CDACFE

#CDACFE is a light, moderate violet. Relative luminance 0.496; OKLCH L 80.3% C 0.118 H 302.3°. Best body text is #000000 at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#CDACFE
RGBrgb(205, 172, 254)
HSLhsl(264, 98%, 84%)
HSVhsv(264, 32%, 100%)
CMYKcmyk(19.3%, 32.3%, 0%, 0.4%)
CIE-LABlab(75.85, 27.75, -36.23)
CIE-LCHlch(75.85, 45.64, 307.45°)
OKLaboklab(80.27% 0.0632 -0.1)
OKLCHoklch(80.27% 0.118 302.3)
XYZxyz(57.8150, 49.6399, 100.2823)
Luminance0.4964 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDACFE #DDFEAC
analogous
#ACB4FE #CDACFE #F6ACFE
triadic
#CDACFE #FECDAC #ACFECD
tetradic
#CDACFE #FEACB4 #DDFEAC #ACFEF6
square
#CDACFE #FEACB4 #DDFEAC #ACFEF6
split-complementary
#CDACFE #FEF6AC #B4FEAC
monochromatic
#8433FD #A970FD #CDACFE #EDE1FF #EDE1FF

Accessibility & contrast

On white

1.92
#CDACFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.93
#CDACFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDACFE
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDACFE#FFFFFF#000000##000000
##CDACFE1.001.9210.9310.93
#FFFFFF1.921.0021.0021.00
#00000010.9321.001.001.00
##00000010.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9ABAFF
Deuteranopia (green-blind)
#A0BBFC
Tritanopia (blue-blind)
#C5B9CA
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cdacfe;
/* rgb */ color: rgb(205, 172, 254);
/* oklch */ color: oklch(80.3% 0.118 302.3);
Tailwind
colors: {
  custom: {
    50: '#ddc5ff',
    500: '#cdacfe',
    950: '#000000',
  },
}
SCSS
$custom: #cdacfe;
$custom-light: #ddc5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cdacfe",
  "rgb": {
    "r": 205,
    "g": 172,
    "b": 254
  },
  "hsl": {
    "h": 264.146,
    "s": 97.619,
    "l": 83.529
  },
  "oklch": {
    "l": 0.80269,
    "c": 0.1183,
    "h": 302.3
  },
  "luminance": 0.4964
}

Semantic roles & 50–950 ramp

primary
#CDACFE
secondary
#E9F7D4
accent
#E60089
background
#FDFCFF
surface
#FBF8FF
border
#D4D1D7
text
#151218
muted
#838186

Preview Lab

Preview with #CDACFE

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

Preview Lab → · Contrast checker → · Palette generator →

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