#CFACEC#CFACEC

#CFACEC is a light, moderate violet. Relative luminance 0.488; OKLCH L 79.7% C 0.096 H 309.2°. Best body text is #000000 at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#CFACEC
RGBrgb(207, 172, 236)
HSLhsl(273, 63%, 80%)
HSVhsv(273, 27%, 93%)
CMYKcmyk(12.3%, 27.1%, 0%, 7.5%)
CIE-LABlab(75.34, 24.50, -27.27)
CIE-LCHlch(75.34, 36.66, 311.94°)
OKLaboklab(79.7% 0.0607 -0.0745)
OKLCHoklch(79.7% 0.096 309.2)
XYZxyz(55.6223, 48.8271, 85.8350)
Luminance0.4883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFACEC #C9ECAC
analogous
#AFACEC #CFACEC #ECACE9
triadic
#CFACEC #ECCFAC #ACECCF
tetradic
#CFACEC #ECAFAC #C9ECAC #ACE9EC
square
#CFACEC #ECAFAC #C9ECAC #ACE9EC
split-complementary
#CFACEC #E9ECAC #ACECAF
monochromatic
#9548D5 #B27AE1 #CFACEC #ECDEF7 #F1E6F9

Accessibility & contrast

On white

1.95
#CFACEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.77
#CFACEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFACEC
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFACEC#FFFFFF#000000##000000
##CFACEC1.001.9510.7710.77
#FFFFFF1.951.0021.0021.00
#00000010.7721.001.001.00
##00000010.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1B8EF
Deuteranopia (green-blind)
#A8BAEA
Tritanopia (blue-blind)
#CCB4C3
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cfacec;
/* rgb */ color: rgb(207, 172, 236);
/* oklch */ color: oklch(79.7% 0.096 309.2);
Tailwind
colors: {
  custom: {
    50: '#dec5f2',
    500: '#cfacec',
    950: '#000000',
  },
}
SCSS
$custom: #cfacec;
$custom-light: #dec5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cfacec",
  "rgb": {
    "r": 207,
    "g": 172,
    "b": 236
  },
  "hsl": {
    "h": 272.813,
    "s": 62.745,
    "l": 80
  },
  "oklch": {
    "l": 0.797,
    "c": 0.09611,
    "h": 309.2
  },
  "luminance": 0.48827
}

Semantic roles & 50–950 ramp

primary
#CFACEC
secondary
#E4F1DA
accent
#CA1B6B
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151217
muted
#838185

Preview Lab

Preview with #CFACEC

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

Preview Lab → · Contrast checker → · Palette generator →

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