#CFAFE5#CFAFE5

#CFAFE5 is a light, moderate violet. Relative luminance 0.496; OKLCH L 80.0% C 0.082 H 311.3°. Best body text is #000000 at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#CFAFE5
RGBrgb(207, 175, 229)
HSLhsl(276, 51%, 79%)
HSVhsv(276, 24%, 90%)
CMYKcmyk(9.6%, 23.6%, 0%, 10.2%)
CIE-LABlab(75.81, 21.42, -22.75)
CIE-LCHlch(75.81, 31.25, 313.27°)
OKLaboklab(79.98% 0.0543 -0.0618)
OKLCHoklch(79.98% 0.082 311.3)
XYZxyz(55.2026, 49.5830, 80.7759)
Luminance0.4958 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAFE5 #C5E5AF
analogous
#B4AFE5 #CFAFE5 #E5AFE0
triadic
#CFAFE5 #E5CFAF #AFE5CF
tetradic
#CFAFE5 #E5B4AF #C5E5AF #AFE0E5
square
#CFAFE5 #E5B4AF #C5E5AF #AFE0E5
split-complementary
#CFAFE5 #E0E5AF #AFE5B4
monochromatic
#9853C7 #B381D6 #CFAFE5 #EBDDF4 #F1E8F7

Accessibility & contrast

On white

1.92
#CFAFE5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.92
#CFAFE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAFE5
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAFE5#FFFFFF#000000##000000
##CFAFE51.001.9210.9210.92
#FFFFFF1.921.0021.0021.00
#00000010.9221.001.001.00
##00000010.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7B9E7
Deuteranopia (green-blind)
#ADBCE3
Tritanopia (blue-blind)
#CDB6C2
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cfafe5;
/* rgb */ color: rgb(207, 175, 229);
/* oklch */ color: oklch(80.0% 0.082 311.3);
Tailwind
colors: {
  custom: {
    50: '#dec7ed',
    500: '#cfafe5',
    950: '#000000',
  },
}
SCSS
$custom: #cfafe5;
$custom-light: #dec7ed;
$custom-dark: #000000;
JSON
{
  "hex": "#cfafe5",
  "rgb": {
    "r": 207,
    "g": 175,
    "b": 229
  },
  "hsl": {
    "h": 275.556,
    "s": 50.943,
    "l": 79.216
  },
  "oklch": {
    "l": 0.79979,
    "c": 0.0823,
    "h": 311.3
  },
  "luminance": 0.49582
}

Semantic roles & 50–950 ramp

primary
#CFAFE5
secondary
#E4EFDC
accent
#BE2765
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151316
muted
#838284

Preview Lab

Preview with #CFAFE5

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

Preview Lab → · Contrast checker → · Palette generator →

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