#CFAEF6#CFAEF6

#CFAEF6 is a light, moderate violet. Relative luminance 0.502; OKLCH L 80.5% C 0.105 H 305.1°. Best body text is #000000 at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#CFAEF6
RGBrgb(207, 174, 246)
HSLhsl(268, 80%, 82%)
HSVhsv(268, 29%, 96%)
CMYKcmyk(15.9%, 29.3%, 0%, 3.5%)
CIE-LABlab(76.19, 25.52, -31.38)
CIE-LCHlch(76.19, 40.45, 309.12°)
OKLaboklab(80.47% 0.0606 -0.0862)
OKLCHoklch(80.47% 0.105 305.1)
XYZxyz(57.4995, 50.1915, 93.8297)
Luminance0.5019 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAEF6 #D5F6AE
analogous
#AEB1F6 #CFAEF6 #F3AEF6
triadic
#CFAEF6 #F6CFAE #AEF6CF
tetradic
#CFAEF6 #F6AEB1 #D5F6AE #AEF6F3
square
#CFAEF6 #F6AEB1 #D5F6AE #AEF6F3
split-complementary
#CFAEF6 #F6F3AE #B1F6AE
monochromatic
#8E40EA #AE77F0 #CFAEF6 #EFE3FC #EFE3FC

Accessibility & contrast

On white

1.90
#CFAEF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.04
#CFAEF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAEF6
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAEF6#FFFFFF#000000##000000
##CFAEF61.001.9011.0411.04
#FFFFFF1.901.0021.0021.00
#00000011.0421.001.001.00
##00000011.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0BBF9
Deuteranopia (green-blind)
#A6BCF4
Tritanopia (blue-blind)
#C9B8C8
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cfaef6;
/* rgb */ color: rgb(207, 174, 246);
/* oklch */ color: oklch(80.5% 0.105 305.1);
Tailwind
colors: {
  custom: {
    50: '#dec6f9',
    500: '#cfaef6',
    950: '#000000',
  },
}
SCSS
$custom: #cfaef6;
$custom-light: #dec6f9;
$custom-dark: #000000;
JSON
{
  "hex": "#cfaef6",
  "rgb": {
    "r": 207,
    "g": 174,
    "b": 246
  },
  "hsl": {
    "h": 267.5,
    "s": 80,
    "l": 82.353
  },
  "oklch": {
    "l": 0.80468,
    "c": 0.10533,
    "h": 305.1
  },
  "luminance": 0.50191
}

Semantic roles & 50–950 ramp

primary
#CFAEF6
secondary
#A8D771
accent
#DC097C
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285

Preview Lab

Preview with #CFAEF6

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

Preview Lab → · Contrast checker → · Palette generator →

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