#CFABE2#CFABE2

#CFABE2 is a light, moderate violet. Relative luminance 0.479; OKLCH L 79.1% C 0.086 H 313.8°. Best body text is #000000 at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#CFABE2
RGBrgb(207, 171, 226)
HSLhsl(279, 49%, 78%)
HSVhsv(279, 24%, 89%)
CMYKcmyk(8.4%, 24.3%, 0%, 11.4%)
CIE-LABlab(74.75, 23.00, -22.74)
CIE-LCHlch(74.75, 32.34, 315.32°)
OKLaboklab(79.13% 0.0593 -0.0618)
OKLCHoklch(79.13% 0.086 313.8)
XYZxyz(54.0203, 47.8829, 78.3333)
Luminance0.4788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFABE2 #BEE2AB
analogous
#B3ABE2 #CFABE2 #E2ABD9
triadic
#CFABE2 #E2CFAB #ABE2CF
tetradic
#CFABE2 #E2B3AB #BEE2AB #ABD9E2
square
#CFABE2 #E2B3AB #BEE2AB #ABD9E2
split-complementary
#CFABE2 #D9E2AB #ABE2B3
monochromatic
#9B50C3 #B57ED2 #CFABE2 #E9D8F2 #F2E8F7

Accessibility & contrast

On white

1.99
#CFABE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.58
#CFABE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFABE2
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFABE2#FFFFFF#000000##000000
##CFABE21.001.9910.5810.58
#FFFFFF1.991.0021.0021.00
#00000010.5821.001.001.00
##00000010.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3B6E4
Deuteranopia (green-blind)
#ABB9E0
Tritanopia (blue-blind)
#CEB1BE
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cfabe2;
/* rgb */ color: rgb(207, 171, 226);
/* oklch */ color: oklch(79.1% 0.086 313.8);
Tailwind
colors: {
  custom: {
    50: '#dec4eb',
    500: '#cfabe2',
    950: '#000000',
  },
}
SCSS
$custom: #cfabe2;
$custom-light: #dec4eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cfabe2",
  "rgb": {
    "r": 207,
    "g": 171,
    "b": 226
  },
  "hsl": {
    "h": 279.273,
    "s": 48.673,
    "l": 77.843
  },
  "oklch": {
    "l": 0.79128,
    "c": 0.08561,
    "h": 313.8
  },
  "luminance": 0.47882
}

Semantic roles & 50–950 ramp

primary
#CFABE2
secondary
#E3EEDD
accent
#BC2A5C
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151216
muted
#838184

Preview Lab

Preview with #CFABE2

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

Preview Lab → · Contrast checker → · Palette generator →

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