#CFACEB#CFACEB

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

Color values

HEX#CFACEB
RGBrgb(207, 172, 235)
HSLhsl(273, 61%, 80%)
HSVhsv(273, 27%, 92%)
CMYKcmyk(11.9%, 26.8%, 0%, 7.8%)
CIE-LABlab(75.31, 24.29, -26.78)
CIE-LCHlch(75.31, 36.16, 312.21°)
OKLaboklab(79.66% 0.0604 -0.0731)
OKLCHoklch(79.66% 0.095 309.6)
XYZxyz(55.4774, 48.7691, 85.0719)
Luminance0.4877 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFACEB #C8EBAC
analogous
#AFACEB #CFACEB #EBACE8
triadic
#CFACEB #EBCFAC #ACEBCF
tetradic
#CFACEB #EBAFAC #C8EBAC #ACE8EB
square
#CFACEB #EBAFAC #C8EBAC #ACE8EB
split-complementary
#CFACEB #E8EBAC #ACEBAF
monochromatic
#9649D3 #B27BDF #CFACEB #ECDDF7 #F1E6F9

Accessibility & contrast

On white

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

On black

10.75
#CFACEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFACEB
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFACEB#FFFFFF#000000##000000
##CFACEB1.001.9510.7510.75
#FFFFFF1.951.0021.0021.00
#00000010.7521.001.001.00
##00000010.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2B8EE
Deuteranopia (green-blind)
#A9BAE9
Tritanopia (blue-blind)
#CCB4C2
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cfaceb;
/* rgb */ color: rgb(207, 172, 235);
/* oklch */ color: oklch(79.7% 0.095 309.6);
Tailwind
colors: {
  custom: {
    50: '#dec5f1',
    500: '#cfaceb',
    950: '#000000',
  },
}
SCSS
$custom: #cfaceb;
$custom-light: #dec5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cfaceb",
  "rgb": {
    "r": 207,
    "g": 172,
    "b": 235
  },
  "hsl": {
    "h": 273.333,
    "s": 61.165,
    "l": 79.804
  },
  "oklch": {
    "l": 0.7966,
    "c": 0.09487,
    "h": 309.6
  },
  "luminance": 0.48769
}

Semantic roles & 50–950 ramp

primary
#CFACEB
secondary
#E4F0DB
accent
#C91D69
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151216
muted
#838184

Preview Lab

Preview with #CFACEB

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

Preview Lab → · Contrast checker → · Palette generator →

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