#CFABE5#CFABE5

#CFABE5 is a light, moderate violet. Relative luminance 0.480; OKLCH L 79.2% C 0.089 H 312.4°. Best body text is #000000 at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#CFABE5
RGBrgb(207, 171, 229)
HSLhsl(277, 53%, 78%)
HSVhsv(277, 25%, 90%)
CMYKcmyk(9.6%, 25.3%, 0%, 10.2%)
CIE-LABlab(74.86, 23.61, -24.21)
CIE-LCHlch(74.86, 33.82, 314.27°)
OKLaboklab(79.24% 0.0602 -0.0659)
OKLCHoklch(79.24% 0.089 312.4)
XYZxyz(54.4355, 48.0490, 80.5203)
Luminance0.4805 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFABE5 #C1E5AB
analogous
#B2ABE5 #CFABE5 #E5ABDE
triadic
#CFABE5 #E5CFAB #ABE5CF
tetradic
#CFABE5 #E5B2AB #C1E5AB #ABDEE5
square
#CFABE5 #E5B2AB #C1E5AB #ABDEE5
split-complementary
#CFABE5 #DEE5AB #ABE5B2
monochromatic
#9A4EC8 #B47CD7 #CFABE5 #EADAF3 #F2E8F8

Accessibility & contrast

On white

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

On black

10.61
#CFABE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFABE5
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFABE5#FFFFFF#000000##000000
##CFABE51.001.9810.6110.61
#FFFFFF1.981.0021.0021.00
#00000010.6121.001.001.00
##00000010.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2B6E7
Deuteranopia (green-blind)
#AAB9E3
Tritanopia (blue-blind)
#CDB2BF
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cfabe5;
/* rgb */ color: rgb(207, 171, 229);
/* oklch */ color: oklch(79.2% 0.089 312.4);
Tailwind
colors: {
  custom: {
    50: '#dec4ed',
    500: '#cfabe5',
    950: '#000000',
  },
}
SCSS
$custom: #cfabe5;
$custom-light: #dec4ed;
$custom-dark: #000000;
JSON
{
  "hex": "#cfabe5",
  "rgb": {
    "r": 207,
    "g": 171,
    "b": 229
  },
  "hsl": {
    "h": 277.241,
    "s": 52.727,
    "l": 78.431
  },
  "oklch": {
    "l": 0.79243,
    "c": 0.08923,
    "h": 312.4
  },
  "luminance": 0.48048
}

Semantic roles & 50–950 ramp

primary
#CFABE5
secondary
#E3EFDC
accent
#C02560
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151216
muted
#838184

Preview Lab

Preview with #CFABE5

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

Preview Lab → · Contrast checker → · Palette generator →

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