#CFAEF8#CFAEF8

#CFAEF8 is a light, moderate violet. Relative luminance 0.503; OKLCH L 80.6% C 0.108 H 304.5°. Best body text is #000000 at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#CFAEF8
RGBrgb(207, 174, 248)
HSLhsl(267, 84%, 83%)
HSVhsv(267, 30%, 97%)
CMYKcmyk(16.5%, 29.8%, 0%, 2.7%)
CIE-LABlab(76.26, 25.95, -32.34)
CIE-LCHlch(76.26, 41.46, 308.74°)
OKLaboklab(80.55% 0.0611 -0.0889)
OKLCHoklch(80.55% 0.108 304.5)
XYZxyz(57.8081, 50.3150, 95.4551)
Luminance0.5031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAEF8 #D7F8AE
analogous
#AEB2F8 #CFAEF8 #F4AEF8
triadic
#CFAEF8 #F8CFAE #AEF8CF
tetradic
#CFAEF8 #F8AEB2 #D7F8AE #AEF8F4
square
#CFAEF8 #F8AEB2 #D7F8AE #AEF8F4
split-complementary
#CFAEF8 #F8F4AE #B2F8AE
monochromatic
#8C3DEE #AE76F3 #CFAEF8 #EEE3FD #EEE3FD

Accessibility & contrast

On white

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

On black

11.06
#CFAEF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAEF8
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAEF8#FFFFFF#000000##000000
##CFAEF81.001.9011.0611.06
#FFFFFF1.901.0021.0021.00
#00000011.0621.001.001.00
##00000011.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9FBBFB
Deuteranopia (green-blind)
#A6BCF6
Tritanopia (blue-blind)
#C9B9C9
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cfaef8;
/* rgb */ color: rgb(207, 174, 248);
/* oklch */ color: oklch(80.6% 0.108 304.5);
Tailwind
colors: {
  custom: {
    50: '#dec6fa',
    500: '#cfaef8',
    950: '#000000',
  },
}
SCSS
$custom: #cfaef8;
$custom-light: #dec6fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cfaef8",
  "rgb": {
    "r": 207,
    "g": 174,
    "b": 248
  },
  "hsl": {
    "h": 266.757,
    "s": 84.091,
    "l": 82.745
  },
  "oklch": {
    "l": 0.80551,
    "c": 0.10787,
    "h": 304.5
  },
  "luminance": 0.50315
}

Semantic roles & 50–950 ramp

primary
#CFAEF8
secondary
#ABDA70
accent
#E1057F
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285

Preview Lab

Preview with #CFAEF8

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

Preview Lab → · Contrast checker → · Palette generator →

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