#CDACFD#CDACFD

#CDACFD is a light, moderate violet. Relative luminance 0.496; OKLCH L 80.2% C 0.117 H 302.5°. Best body text is #000000 at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#CDACFD
RGBrgb(205, 172, 253)
HSLhsl(264, 95%, 83%)
HSVhsv(264, 32%, 99%)
CMYKcmyk(19%, 32%, 0%, 0.8%)
CIE-LABlab(75.81, 27.53, -35.75)
CIE-LCHlch(75.81, 45.12, 307.60°)
OKLaboklab(80.23% 0.063 -0.0986)
OKLCHoklch(80.23% 0.117 302.5)
XYZxyz(57.6553, 49.5761, 99.4412)
Luminance0.4958 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDACFD #DCFDAC
analogous
#ACB3FD #CDACFD #F5ACFD
triadic
#CDACFD #FDCDAC #ACFDCD
tetradic
#CDACFD #FDACB3 #DCFDAC #ACFDF5
square
#CDACFD #FDACB3 #DCFDAC #ACFDF5
split-complementary
#CDACFD #FDF5AC #B3FDAC
monochromatic
#8534FA #A970FC #CDACFD #EDE1FE #EDE1FE

Accessibility & contrast

On white

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

On black

10.92
#CDACFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDACFD
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDACFD#FFFFFF#000000##000000
##CDACFD1.001.9210.9210.92
#FFFFFF1.921.0021.0021.00
#00000010.9221.001.001.00
##00000010.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BBAFF
Deuteranopia (green-blind)
#A1BBFB
Tritanopia (blue-blind)
#C5B8C9
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cdacfd;
/* rgb */ color: rgb(205, 172, 253);
/* oklch */ color: oklch(80.2% 0.117 302.5);
Tailwind
colors: {
  custom: {
    50: '#ddc5fe',
    500: '#cdacfd',
    950: '#000000',
  },
}
SCSS
$custom: #cdacfd;
$custom-light: #ddc5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cdacfd",
  "rgb": {
    "r": 205,
    "g": 172,
    "b": 253
  },
  "hsl": {
    "h": 264.444,
    "s": 95.294,
    "l": 83.333
  },
  "oklch": {
    "l": 0.80226,
    "c": 0.11702,
    "h": 302.5
  },
  "luminance": 0.49576
}

Semantic roles & 50–950 ramp

primary
#CDACFD
secondary
#E9F7D4
accent
#E60088
background
#FDFCFF
surface
#FBF8FF
border
#D4D1D7
text
#151218
muted
#838186

Preview Lab

Preview with #CDACFD

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

Preview Lab → · Contrast checker → · Palette generator →

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