#CFABEF#CFABEF

#CFABEF is a light, moderate violet. Relative luminance 0.486; OKLCH L 79.6% C 0.102 H 308.3°. Best body text is #000000 at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#CFABEF
RGBrgb(207, 171, 239)
HSLhsl(272, 68%, 80%)
HSVhsv(272, 28%, 94%)
CMYKcmyk(13.4%, 28.5%, 0%, 6.3%)
CIE-LABlab(75.22, 25.67, -29.09)
CIE-LCHlch(75.22, 38.80, 311.43°)
OKLaboklab(79.64% 0.063 -0.0796)
OKLCHoklch(79.64% 0.102 308.3)
XYZxyz(55.8722, 48.6237, 88.0865)
Luminance0.4862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFABEF #CBEFAB
analogous
#ADABEF #CFABEF #EFABED
triadic
#CFABEF #EFCFAB #ABEFCF
tetradic
#CFABEF #EFADAB #CBEFAB #ABEDEF
square
#CFABEF #EFADAB #CBEFAB #ABEDEF
split-complementary
#CFABEF #EDEFAB #ABEFAD
monochromatic
#9444DB #B278E5 #CFABEF #ECDEF9 #F0E5FA

Accessibility & contrast

On white

1.96
#CFABEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.72
#CFABEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFABEF
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFABEF#FFFFFF#000000##000000
##CFABEF1.001.9610.7210.72
#FFFFFF1.961.0021.0021.00
#00000010.7221.001.001.00
##00000010.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9FB8F2
Deuteranopia (green-blind)
#A6BAED
Tritanopia (blue-blind)
#CBB4C3
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cfabef;
/* rgb */ color: rgb(207, 171, 239);
/* oklch */ color: oklch(79.6% 0.102 308.3);
Tailwind
colors: {
  custom: {
    50: '#dec4f4',
    500: '#cfabef',
    950: '#000000',
  },
}
SCSS
$custom: #cfabef;
$custom-light: #dec4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cfabef",
  "rgb": {
    "r": 207,
    "g": 171,
    "b": 239
  },
  "hsl": {
    "h": 271.765,
    "s": 68,
    "l": 80.392
  },
  "oklch": {
    "l": 0.79639,
    "c": 0.10154,
    "h": 308.3
  },
  "luminance": 0.48623
}

Semantic roles & 50–950 ramp

primary
#CFABEF
secondary
#E5F2D9
accent
#D0166D
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151217
muted
#838185

Preview Lab

Preview with #CFABEF

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

Preview Lab → · Contrast checker → · Palette generator →

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