#CFABE4#CFABE4

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

Color values

HEX#CFABE4
RGBrgb(207, 171, 228)
HSLhsl(278, 51%, 78%)
HSVhsv(278, 25%, 89%)
CMYKcmyk(9.2%, 25%, 0%, 10.6%)
CIE-LABlab(74.82, 23.40, -23.72)
CIE-LCHlch(74.82, 33.32, 314.61°)
OKLaboklab(79.2% 0.0599 -0.0645)
OKLCHoklch(79.2% 0.088 312.8)
XYZxyz(54.2963, 47.9933, 79.7870)
Luminance0.4799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFABE4 #C0E4AB
analogous
#B2ABE4 #CFABE4 #E4ABDC
triadic
#CFABE4 #E4CFAB #ABE4CF
tetradic
#CFABE4 #E4B2AB #C0E4AB #ABDCE4
square
#CFABE4 #E4B2AB #C0E4AB #ABDCE4
split-complementary
#CFABE4 #DCE4AB #ABE4B2
monochromatic
#9A4EC6 #B57DD5 #CFABE4 #E9D9F3 #F2E8F8

Accessibility & contrast

On white

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

On black

10.60
#CFABE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFABE4
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFABE4#FFFFFF#000000##000000
##CFABE41.001.9810.6010.60
#FFFFFF1.981.0021.0021.00
#00000010.6021.001.001.00
##00000010.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfabe4;
/* rgb */ color: rgb(207, 171, 228);
/* oklch */ color: oklch(79.2% 0.088 312.8);
Tailwind
colors: {
  custom: {
    50: '#dec4ec',
    500: '#cfabe4',
    950: '#000000',
  },
}
SCSS
$custom: #cfabe4;
$custom-light: #dec4ec;
$custom-dark: #000000;
JSON
{
  "hex": "#cfabe4",
  "rgb": {
    "r": 207,
    "g": 171,
    "b": 228
  },
  "hsl": {
    "h": 277.895,
    "s": 51.351,
    "l": 78.235
  },
  "oklch": {
    "l": 0.79204,
    "c": 0.08802,
    "h": 312.8
  },
  "luminance": 0.47993
}

Semantic roles & 50–950 ramp

primary
#CFABE4
secondary
#E3EFDC
accent
#BF275F
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151216
muted
#838184

Preview Lab

Preview with #CFABE4

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

Preview Lab → · Contrast checker → · Palette generator →

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