#CFAFE1#CFAFE1

#CFAFE1 is a light, moderate violet. Relative luminance 0.494; OKLCH L 79.8% C 0.077 H 313.3°. Best body text is #000000 at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#CFAFE1
RGBrgb(207, 175, 225)
HSLhsl(278, 45%, 78%)
HSVhsv(278, 22%, 88%)
CMYKcmyk(8%, 22.2%, 0%, 11.8%)
CIE-LABlab(75.68, 20.62, -20.79)
CIE-LCHlch(75.68, 29.28, 314.76°)
OKLaboklab(79.83% 0.0531 -0.0564)
OKLCHoklch(79.83% 0.077 313.3)
XYZxyz(54.6505, 49.3622, 77.8684)
Luminance0.4936 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAFE1 #C1E1AF
analogous
#B6AFE1 #CFAFE1 #E1AFDA
triadic
#CFAFE1 #E1CFAF #AFE1CF
tetradic
#CFAFE1 #E1B6AF #C1E1AF #AFDAE1
square
#CFAFE1 #E1B6AF #C1E1AF #AFDAE1
split-complementary
#CFAFE1 #DAE1AF #AFE1B6
monochromatic
#9A56C0 #B482D0 #CFAFE1 #EADCF2 #F2E9F7

Accessibility & contrast

On white

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

On black

10.87
#CFAFE1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAFE1
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAFE1#FFFFFF#000000##000000
##CFAFE11.001.9310.8710.87
#FFFFFF1.931.0021.0021.00
#00000010.8721.001.001.00
##00000010.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfafe1;
/* rgb */ color: rgb(207, 175, 225);
/* oklch */ color: oklch(79.8% 0.077 313.3);
Tailwind
colors: {
  custom: {
    50: '#dec7ea',
    500: '#cfafe1',
    950: '#000000',
  },
}
SCSS
$custom: #cfafe1;
$custom-light: #dec7ea;
$custom-dark: #000000;
JSON
{
  "hex": "#cfafe1",
  "rgb": {
    "r": 207,
    "g": 175,
    "b": 225
  },
  "hsl": {
    "h": 278.4,
    "s": 45.455,
    "l": 78.431
  },
  "oklch": {
    "l": 0.79828,
    "c": 0.07743,
    "h": 313.3
  },
  "luminance": 0.49362
}

Semantic roles & 50–950 ramp

primary
#CFAFE1
secondary
#E3EEDD
accent
#B92D5F
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151316
muted
#838284

Preview Lab

Preview with #CFAFE1

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

Preview Lab → · Contrast checker → · Palette generator →

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