#CFAFE0#CFAFE0

#CFAFE0 is a light, moderate violet. Relative luminance 0.493; OKLCH L 79.8% C 0.076 H 313.8°. Best body text is #000000 at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#CFAFE0
RGBrgb(207, 175, 224)
HSLhsl(279, 44%, 78%)
HSVhsv(279, 22%, 88%)
CMYKcmyk(7.6%, 21.9%, 0%, 12.2%)
CIE-LABlab(75.64, 20.42, -20.30)
CIE-LCHlch(75.64, 28.79, 315.17°)
OKLaboklab(79.79% 0.0528 -0.055)
OKLCHoklch(79.79% 0.076 313.8)
XYZxyz(54.5145, 49.3078, 77.1521)
Luminance0.4931 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAFE0 #C0E0AF
analogous
#B6AFE0 #CFAFE0 #E0AFD8
triadic
#CFAFE0 #E0CFAF #AFE0CF
tetradic
#CFAFE0 #E0B6AF #C0E0AF #AFD8E0
square
#CFAFE0 #E0B6AF #C0E0AF #AFD8E0
split-complementary
#CFAFE0 #D8E0AF #AFE0B6
monochromatic
#9A57BE #B583CF #CFAFE0 #E9DBF1 #F2E9F6

Accessibility & contrast

On white

1.93
#CFAFE0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.86
#CFAFE0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAFE0
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAFE0#FFFFFF#000000##000000
##CFAFE01.001.9310.8610.86
#FFFFFF1.931.0021.0021.00
#00000010.8621.001.001.00
##00000010.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8B9E2
Deuteranopia (green-blind)
#AFBBDE
Tritanopia (blue-blind)
#CEB5C0
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cfafe0;
/* rgb */ color: rgb(207, 175, 224);
/* oklch */ color: oklch(79.8% 0.076 313.8);
Tailwind
colors: {
  custom: {
    50: '#dec7e9',
    500: '#cfafe0',
    950: '#000000',
  },
}
SCSS
$custom: #cfafe0;
$custom-light: #dec7e9;
$custom-dark: #000000;
JSON
{
  "hex": "#cfafe0",
  "rgb": {
    "r": 207,
    "g": 175,
    "b": 224
  },
  "hsl": {
    "h": 279.184,
    "s": 44.144,
    "l": 78.235
  },
  "oklch": {
    "l": 0.79791,
    "c": 0.07621,
    "h": 313.8
  },
  "luminance": 0.49307
}

Semantic roles & 50–950 ramp

primary
#CFAFE0
secondary
#E3EDDE
accent
#B72E5E
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151316
muted
#838284

Preview Lab

Preview with #CFAFE0

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

Preview Lab → · Contrast checker → · Palette generator →

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