#CFABE3#CFABE3

#CFABE3 is a light, moderate violet. Relative luminance 0.479; OKLCH L 79.2% C 0.087 H 313.3°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#CFABE3
RGBrgb(207, 171, 227)
HSLhsl(279, 50%, 78%)
HSVhsv(279, 25%, 89%)
CMYKcmyk(8.8%, 24.7%, 0%, 11%)
CIE-LABlab(74.79, 23.20, -23.23)
CIE-LCHlch(74.79, 32.83, 314.96°)
OKLaboklab(79.17% 0.0596 -0.0632)
OKLCHoklch(79.17% 0.087 313.3)
XYZxyz(54.1579, 47.9380, 79.0581)
Luminance0.4794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFABE3 #BFE3AB
analogous
#B3ABE3 #CFABE3 #E3ABDB
triadic
#CFABE3 #E3CFAB #ABE3CF
tetradic
#CFABE3 #E3B3AB #BFE3AB #ABDBE3
square
#CFABE3 #E3B3AB #BFE3AB #ABDBE3
split-complementary
#CFABE3 #DBE3AB #ABE3B3
monochromatic
#9B4FC4 #B57DD4 #CFABE3 #E9D9F2 #F2E8F7

Accessibility & contrast

On white

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

On black

10.59
#CFABE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFABE3
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFABE3#FFFFFF#000000##000000
##CFABE31.001.9810.5910.59
#FFFFFF1.981.0021.0021.00
#00000010.5921.001.001.00
##00000010.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3B6E5
Deuteranopia (green-blind)
#AAB9E1
Tritanopia (blue-blind)
#CEB2BE
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cfabe3;
/* rgb */ color: rgb(207, 171, 227);
/* oklch */ color: oklch(79.2% 0.087 313.3);
Tailwind
colors: {
  custom: {
    50: '#dec4ec',
    500: '#cfabe3',
    950: '#000000',
  },
}
SCSS
$custom: #cfabe3;
$custom-light: #dec4ec;
$custom-dark: #000000;
JSON
{
  "hex": "#cfabe3",
  "rgb": {
    "r": 207,
    "g": 171,
    "b": 227
  },
  "hsl": {
    "h": 278.571,
    "s": 50,
    "l": 78.039
  },
  "oklch": {
    "l": 0.79166,
    "c": 0.08681,
    "h": 313.3
  },
  "luminance": 0.47937
}

Semantic roles & 50–950 ramp

primary
#CFABE3
secondary
#E3EEDD
accent
#BD285D
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151216
muted
#838184

Preview Lab

Preview with #CFABE3

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

Preview Lab → · Contrast checker → · Palette generator →

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