#CDACFB#CDACFB

#CDACFB is a light, moderate violet. Relative luminance 0.494; OKLCH L 80.1% C 0.114 H 303.1°. Best body text is #000000 at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#CDACFB
RGBrgb(205, 172, 251)
HSLhsl(265, 91%, 83%)
HSVhsv(265, 31%, 98%)
CMYKcmyk(18.3%, 31.5%, 0%, 1.6%)
CIE-LABlab(75.73, 27.09, -34.80)
CIE-LCHlch(75.73, 44.10, 307.90°)
OKLaboklab(80.14% 0.0625 -0.0959)
OKLCHoklch(80.14% 0.114 303.1)
XYZxyz(57.3384, 49.4493, 97.7720)
Luminance0.4945 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDACFB #DAFBAC
analogous
#ACB2FB #CDACFB #F4ACFB
triadic
#CDACFB #FBCDAC #ACFBCD
tetradic
#CDACFB #FBACB2 #DAFBAC #ACFBF4
square
#CDACFB #FBACB2 #DAFBAC #ACFBF4
split-complementary
#CDACFB #FBF4AC #B2FBAC
monochromatic
#8737F5 #AA72F8 #CDACFB #EDE2FE #EDE2FE

Accessibility & contrast

On white

1.93
#CDACFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.89
#CDACFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDACFB
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDACFB#FFFFFF#000000##000000
##CDACFB1.001.9310.8910.89
#FFFFFF1.931.0021.0021.00
#00000010.8921.001.001.00
##00000010.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BBAFE
Deuteranopia (green-blind)
#A2BBF9
Tritanopia (blue-blind)
#C6B8C9
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cdacfb;
/* rgb */ color: rgb(205, 172, 251);
/* oklch */ color: oklch(80.1% 0.114 303.1);
Tailwind
colors: {
  custom: {
    50: '#ddc5fd',
    500: '#cdacfb',
    950: '#000000',
  },
}
SCSS
$custom: #cdacfb;
$custom-light: #ddc5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cdacfb",
  "rgb": {
    "r": 205,
    "g": 172,
    "b": 251
  },
  "hsl": {
    "h": 265.063,
    "s": 90.805,
    "l": 82.941
  },
  "oklch": {
    "l": 0.8014,
    "c": 0.11446,
    "h": 303.1
  },
  "luminance": 0.49449
}

Semantic roles & 50–950 ramp

primary
#CDACFB
secondary
#E8F6D5
accent
#E60086
background
#FDFCFF
surface
#FBF8FF
border
#D4D1D7
text
#151217
muted
#838185

Preview Lab

Preview with #CDACFB

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

Preview Lab → · Contrast checker → · Palette generator →

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