#CFABE8#CFABE8

#CFABE8 is a light, moderate violet. Relative luminance 0.482; OKLCH L 79.4% C 0.093 H 311.1°. Best body text is #000000 at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#CFABE8
RGBrgb(207, 171, 232)
HSLhsl(275, 57%, 79%)
HSVhsv(275, 26%, 91%)
CMYKcmyk(10.8%, 26.3%, 0%, 9%)
CIE-LABlab(74.96, 24.22, -25.68)
CIE-LCHlch(74.96, 35.30, 313.32°)
OKLaboklab(79.36% 0.061 -0.07)
OKLCHoklch(79.36% 0.093 311.1)
XYZxyz(54.8580, 48.2180, 82.7453)
Luminance0.4822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFABE8 #C4E8AB
analogous
#B1ABE8 #CFABE8 #E8ABE3
triadic
#CFABE8 #E8CFAB #ABE8CF
tetradic
#CFABE8 #E8B1AB #C4E8AB #ABE3E8
square
#CFABE8 #E8B1AB #C4E8AB #ABE3E8
split-complementary
#CFABE8 #E3E8AB #ABE8B1
monochromatic
#984BCE #B47BDB #CFABE8 #EADBF5 #F1E7F8

Accessibility & contrast

On white

1.97
#CFABE8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.64
#CFABE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFABE8
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFABE8#FFFFFF#000000##000000
##CFABE81.001.9710.6410.64
#FFFFFF1.971.0021.0021.00
#00000010.6421.001.001.00
##00000010.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfabe8;
/* rgb */ color: rgb(207, 171, 232);
/* oklch */ color: oklch(79.4% 0.093 311.1);
Tailwind
colors: {
  custom: {
    50: '#dec4ef',
    500: '#cfabe8',
    950: '#000000',
  },
}
SCSS
$custom: #cfabe8;
$custom-light: #dec4ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cfabe8",
  "rgb": {
    "r": 207,
    "g": 171,
    "b": 232
  },
  "hsl": {
    "h": 275.41,
    "s": 57.009,
    "l": 79.02
  },
  "oklch": {
    "l": 0.7936,
    "c": 0.09289,
    "h": 311.1
  },
  "luminance": 0.48217
}

Semantic roles & 50–950 ramp

primary
#CFABE8
secondary
#E4F0DB
accent
#C52164
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151216
muted
#838184

Preview Lab

Preview with #CFABE8

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

Preview Lab → · Contrast checker → · Palette generator →

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