#CFAFE2#CFAFE2

#CFAFE2 is a light, moderate violet. Relative luminance 0.494; OKLCH L 79.9% C 0.079 H 312.8°. Best body text is #000000 at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#CFAFE2
RGBrgb(207, 175, 226)
HSLhsl(278, 47%, 79%)
HSVhsv(278, 23%, 89%)
CMYKcmyk(8.4%, 22.6%, 0%, 11.4%)
CIE-LABlab(75.71, 20.82, -21.28)
CIE-LCHlch(75.71, 29.77, 314.37°)
OKLaboklab(79.87% 0.0534 -0.0577)
OKLCHoklch(79.87% 0.079 312.8)
XYZxyz(54.7873, 49.4169, 78.5890)
Luminance0.4942 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAFE2 #C2E2AF
analogous
#B5AFE2 #CFAFE2 #E2AFDB
triadic
#CFAFE2 #E2CFAF #AFE2CF
tetradic
#CFAFE2 #E2B5AF #C2E2AF #AFDBE2
square
#CFAFE2 #E2B5AF #C2E2AF #AFDBE2
split-complementary
#CFAFE2 #DBE2AF #AFE2B5
monochromatic
#9955C1 #B482D2 #CFAFE2 #EADCF2 #F2E9F7

Accessibility & contrast

On white

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

On black

10.88
#CFAFE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAFE2
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAFE2#FFFFFF#000000##000000
##CFAFE21.001.9310.8810.88
#FFFFFF1.931.0021.0021.00
#00000010.8821.001.001.00
##00000010.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8B9E4
Deuteranopia (green-blind)
#AEBBE0
Tritanopia (blue-blind)
#CEB5C1
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cfafe2;
/* rgb */ color: rgb(207, 175, 226);
/* oklch */ color: oklch(79.9% 0.079 312.8);
Tailwind
colors: {
  custom: {
    50: '#dec7eb',
    500: '#cfafe2',
    950: '#000000',
  },
}
SCSS
$custom: #cfafe2;
$custom-light: #dec7eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cfafe2",
  "rgb": {
    "r": 207,
    "g": 175,
    "b": 226
  },
  "hsl": {
    "h": 277.647,
    "s": 46.789,
    "l": 78.627
  },
  "oklch": {
    "l": 0.79866,
    "c": 0.07864,
    "h": 312.8
  },
  "luminance": 0.49416
}

Semantic roles & 50–950 ramp

primary
#CFAFE2
secondary
#E3EEDD
accent
#BA2B61
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151316
muted
#838284

Preview Lab

Preview with #CFAFE2

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

Preview Lab → · Contrast checker → · Palette generator →

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