#CFABE7#CFABE7

#CFABE7 is a light, moderate violet. Relative luminance 0.482; OKLCH L 79.3% C 0.092 H 311.5°. Best body text is #000000 at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#CFABE7
RGBrgb(207, 171, 231)
HSLhsl(276, 56%, 79%)
HSVhsv(276, 26%, 91%)
CMYKcmyk(10.4%, 26%, 0%, 9.4%)
CIE-LABlab(74.93, 24.01, -25.19)
CIE-LCHlch(74.93, 34.80, 313.63°)
OKLaboklab(79.32% 0.0607 -0.0687)
OKLCHoklch(79.32% 0.092 311.5)
XYZxyz(54.7164, 48.1613, 81.9994)
Luminance0.4816 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFABE7 #C3E7AB
analogous
#B1ABE7 #CFABE7 #E7ABE1
triadic
#CFABE7 #E7CFAB #ABE7CF
tetradic
#CFABE7 #E7B1AB #C3E7AB #ABE1E7
square
#CFABE7 #E7B1AB #C3E7AB #ABE1E7
split-complementary
#CFABE7 #E1E7AB #ABE7B1
monochromatic
#994CCC #B47BD9 #CFABE7 #EADBF5 #F1E7F8

Accessibility & contrast

On white

1.98
#CFABE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.63
#CFABE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFABE7
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFABE7#FFFFFF#000000##000000
##CFABE71.001.9810.6310.63
#FFFFFF1.981.0021.0021.00
#00000010.6321.001.001.00
##00000010.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2B7E9
Deuteranopia (green-blind)
#A9B9E5
Tritanopia (blue-blind)
#CDB3C0
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cfabe7;
/* rgb */ color: rgb(207, 171, 231);
/* oklch */ color: oklch(79.3% 0.092 311.5);
Tailwind
colors: {
  custom: {
    50: '#dec4ee',
    500: '#cfabe7',
    950: '#000000',
  },
}
SCSS
$custom: #cfabe7;
$custom-light: #dec4ee;
$custom-dark: #000000;
JSON
{
  "hex": "#cfabe7",
  "rgb": {
    "r": 207,
    "g": 171,
    "b": 231
  },
  "hsl": {
    "h": 276,
    "s": 55.556,
    "l": 78.824
  },
  "oklch": {
    "l": 0.79321,
    "c": 0.09166,
    "h": 311.5
  },
  "luminance": 0.48161
}

Semantic roles & 50–950 ramp

primary
#CFABE7
secondary
#E4EFDC
accent
#C32263
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151216
muted
#838184

Preview Lab

Preview with #CFABE7

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

Preview Lab → · Contrast checker → · Palette generator →

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