#CFAFEA#CFAFEA

#CFAFEA is a light, moderate violet. Relative luminance 0.499; OKLCH L 80.2% C 0.089 H 309.1°. Best body text is #000000 at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#CFAFEA
RGBrgb(207, 175, 234)
HSLhsl(273, 58%, 80%)
HSVhsv(273, 25%, 92%)
CMYKcmyk(11.5%, 25.2%, 0%, 8.2%)
CIE-LABlab(75.99, 22.45, -25.20)
CIE-LCHlch(75.99, 33.75, 311.70°)
OKLaboklab(80.17% 0.0558 -0.0687)
OKLCHoklch(80.17% 0.089 309.1)
XYZxyz(55.9107, 49.8663, 84.5057)
Luminance0.4987 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAFEA #CAEAAF
analogous
#B1AFEA #CFAFEA #EAAFE8
triadic
#CFAFEA #EACFAF #AFEACF
tetradic
#CFAFEA #EAB1AF #CAEAAF #AFE8EA
square
#CFAFEA #EAB1AF #CAEAAF #AFE8EA
split-complementary
#CFAFEA #E8EAAF #AFEAB1
monochromatic
#954ED1 #B27FDD #CFAFEA #ECDFF7 #F0E7F9

Accessibility & contrast

On white

1.91
#CFAFEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.97
#CFAFEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAFEA
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAFEA#FFFFFF#000000##000000
##CFAFEA1.001.9110.9710.97
#FFFFFF1.911.0021.0021.00
#00000010.9721.001.001.00
##00000010.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5BAEC
Deuteranopia (green-blind)
#ACBCE8
Tritanopia (blue-blind)
#CCB7C4
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cfafea;
/* rgb */ color: rgb(207, 175, 234);
/* oklch */ color: oklch(80.2% 0.089 309.1);
Tailwind
colors: {
  custom: {
    50: '#dec7f0',
    500: '#cfafea',
    950: '#000000',
  },
}
SCSS
$custom: #cfafea;
$custom-light: #dec7f0;
$custom-dark: #000000;
JSON
{
  "hex": "#cfafea",
  "rgb": {
    "r": 207,
    "g": 175,
    "b": 234
  },
  "hsl": {
    "h": 272.542,
    "s": 58.416,
    "l": 80.196
  },
  "oklch": {
    "l": 0.80171,
    "c": 0.08851,
    "h": 309.1
  },
  "luminance": 0.49866
}

Semantic roles & 50–950 ramp

primary
#CFAFEA
secondary
#E5F0DB
accent
#C61F6C
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151316
muted
#838284

Preview Lab

Preview with #CFAFEA

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

Preview Lab → · Contrast checker → · Palette generator →

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