#CFACEF#CFACEF

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

Color values

HEX#CFACEF
RGBrgb(207, 172, 239)
HSLhsl(271, 68%, 81%)
HSVhsv(271, 28%, 94%)
CMYKcmyk(13.4%, 28%, 0%, 6.3%)
CIE-LABlab(75.45, 25.13, -28.72)
CIE-LCHlch(75.45, 38.16, 311.18°)
OKLaboklab(79.82% 0.0615 -0.0786)
OKLCHoklch(79.82% 0.1 308)
XYZxyz(56.0618, 49.0029, 88.1497)
Luminance0.4900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFACEF #CCEFAC
analogous
#ADACEF #CFACEF #EFACEE
triadic
#CFACEF #EFCFAC #ACEFCF
tetradic
#CFACEF #EFADAC #CCEFAC #ACEEEF
square
#CFACEF #EFADAC #CCEFAC #ACEEEF
split-complementary
#CFACEF #EEEFAC #ACEFAD
monochromatic
#9445DB #B179E5 #CFACEF #EDDFF9 #F0E5FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFACEF#FFFFFF#000000##000000
##CFACEF1.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)
#A0B8F2
Deuteranopia (green-blind)
#A7BAED
Tritanopia (blue-blind)
#CBB5C4
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cfacef;
/* rgb */ color: rgb(207, 172, 239);
/* oklch */ color: oklch(79.8% 0.100 308.0);
Tailwind
colors: {
  custom: {
    50: '#dec5f4',
    500: '#cfacef',
    950: '#000000',
  },
}
SCSS
$custom: #cfacef;
$custom-light: #dec5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cfacef",
  "rgb": {
    "r": 207,
    "g": 172,
    "b": 239
  },
  "hsl": {
    "h": 271.343,
    "s": 67.677,
    "l": 80.588
  },
  "oklch": {
    "l": 0.7982,
    "c": 0.09985,
    "h": 308
  },
  "luminance": 0.49002
}

Semantic roles & 50–950 ramp

primary
#CFACEF
secondary
#E5F2D9
accent
#D0166F
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151217
muted
#838185

Preview Lab

Preview with #CFACEF

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

Preview Lab → · Contrast checker → · Palette generator →

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