#CFABCF#CFABCF

#CFABCF is a light, moderate purple. Relative luminance 0.469; OKLCH L 78.4% C 0.064 H 326.2°. Best body text is #000000 at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#CFABCF
RGBrgb(207, 171, 207)
HSLhsl(300, 27%, 74%)
HSVhsv(300, 17%, 81%)
CMYKcmyk(0%, 17.4%, 0%, 18.8%)
CIE-LABlab(74.12, 19.31, -13.32)
CIE-LCHlch(74.12, 23.46, 325.39°)
OKLaboklab(78.44% 0.0532 -0.0357)
OKLCHoklch(78.44% 0.064 326.2)
XYZxyz(51.5562, 46.8973, 65.3555)
Luminance0.4690 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFABCF #ABCFAB
analogous
#BDABCF #CFABCF #CFABBD
triadic
#CFABCF #CFCFAB #ABCFCF
tetradic
#CFABCF #CFBDAB #ABCFAB #ABBDCF
square
#CFABCF #CFBDAB #ABCFAB #ABBDCF
split-complementary
#CFABCF #BDCFAB #ABCFBD
monochromatic
#A25DA2 #B984B9 #CFABCF #E5D2E5 #F4ECF4

Accessibility & contrast

On white

2.02
#CFABCF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.38
#CFABCF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFABCF
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFABCF#FFFFFF#000000##000000
##CFABCF1.002.0210.3810.38
#FFFFFF2.021.0021.0021.00
#00000010.3821.001.001.00
##00000010.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9B3D1
Deuteranopia (green-blind)
#B1B8CE
Tritanopia (blue-blind)
#D1AEB7
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cfabcf;
/* rgb */ color: rgb(207, 171, 207);
/* oklch */ color: oklch(78.4% 0.064 326.2);
Tailwind
colors: {
  custom: {
    50: '#dec4dd',
    500: '#cfabcf',
    950: '#000000',
  },
}
SCSS
$custom: #cfabcf;
$custom-light: #dec4dd;
$custom-dark: #000000;
JSON
{
  "hex": "#cfabcf",
  "rgb": {
    "r": 207,
    "g": 171,
    "b": 207
  },
  "hsl": {
    "h": 300,
    "s": 27.273,
    "l": 74.118
  },
  "oklch": {
    "l": 0.78437,
    "c": 0.06407,
    "h": 326.2
  },
  "luminance": 0.46896
}

Semantic roles & 50–950 ramp

primary
#CFABCF
secondary
#E1EAE1
accent
#A64040
background
#FDFCFD
surface
#FBF8FB
border
#D4D1D4
text
#151215
muted
#838183

Preview Lab

Preview with #CFABCF

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

Preview Lab → · Contrast checker → · Palette generator →

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