#CFAEF4#CFAEF4

#CFAEF4 is a light, moderate violet. Relative luminance 0.501; OKLCH L 80.4% C 0.103 H 305.7°. Best body text is #000000 at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#CFAEF4
RGBrgb(207, 174, 244)
HSLhsl(268, 76%, 82%)
HSVhsv(268, 29%, 96%)
CMYKcmyk(15.2%, 28.7%, 0%, 4.3%)
CIE-LABlab(76.11, 25.09, -30.42)
CIE-LCHlch(76.11, 39.43, 309.52°)
OKLaboklab(80.39% 0.06 -0.0834)
OKLCHoklch(80.39% 0.103 305.7)
XYZxyz(57.1942, 50.0694, 92.2217)
Luminance0.5007 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAEF4 #D3F4AE
analogous
#AEB0F4 #CFAEF4 #F2AEF4
triadic
#CFAEF4 #F4CFAE #AEF4CF
tetradic
#CFAEF4 #F4AEB0 #D3F4AE #AEF4F2
square
#CFAEF4 #F4AEB0 #D3F4AE #AEF4F2
split-complementary
#CFAEF4 #F4F2AE #B0F4AE
monochromatic
#8F42E5 #AF78ED #CFAEF4 #EFE4FB #EFE4FB

Accessibility & contrast

On white

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

On black

11.01
#CFAEF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAEF4
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAEF4#FFFFFF#000000##000000
##CFAEF41.001.9111.0111.01
#FFFFFF1.911.0021.0021.00
#00000011.0121.001.001.00
##00000011.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1BBF7
Deuteranopia (green-blind)
#A7BCF2
Tritanopia (blue-blind)
#CAB8C7
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cfaef4;
/* rgb */ color: rgb(207, 174, 244);
/* oklch */ color: oklch(80.4% 0.103 305.7);
Tailwind
colors: {
  custom: {
    50: '#dec6f8',
    500: '#cfaef4',
    950: '#000000',
  },
}
SCSS
$custom: #cfaef4;
$custom-light: #dec6f8;
$custom-dark: #000000;
JSON
{
  "hex": "#cfaef4",
  "rgb": {
    "r": 207,
    "g": 174,
    "b": 244
  },
  "hsl": {
    "h": 268.286,
    "s": 76.087,
    "l": 81.961
  },
  "oklch": {
    "l": 0.80386,
    "c": 0.10279,
    "h": 305.7
  },
  "luminance": 0.50069
}

Semantic roles & 50–950 ramp

primary
#CFAEF4
secondary
#A6D472
accent
#D80D79
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285

Preview Lab

Preview with #CFAEF4

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

Preview Lab → · Contrast checker → · Palette generator →

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