#CFAEF7#CFAEF7

#CFAEF7 is a light, moderate violet. Relative luminance 0.503; OKLCH L 80.5% C 0.107 H 304.8°. Best body text is #000000 at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#CFAEF7
RGBrgb(207, 174, 247)
HSLhsl(267, 82%, 83%)
HSVhsv(267, 30%, 97%)
CMYKcmyk(16.2%, 29.6%, 0%, 3.1%)
CIE-LABlab(76.22, 25.73, -31.86)
CIE-LCHlch(76.22, 40.96, 308.93°)
OKLaboklab(80.51% 0.0608 -0.0875)
OKLCHoklch(80.51% 0.107 304.8)
XYZxyz(57.6534, 50.2531, 94.6402)
Luminance0.5025 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAEF7 #D6F7AE
analogous
#AEB2F7 #CFAEF7 #F3AEF7
triadic
#CFAEF7 #F7CFAE #AEF7CF
tetradic
#CFAEF7 #F7AEB2 #D6F7AE #AEF7F3
square
#CFAEF7 #F7AEB2 #D6F7AE #AEF7F3
split-complementary
#CFAEF7 #F7F3AE #B2F7AE
monochromatic
#8D3FEC #AE76F1 #CFAEF7 #EEE3FC #EEE3FC

Accessibility & contrast

On white

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

On black

11.05
#CFAEF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAEF7
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAEF7#FFFFFF#000000##000000
##CFAEF71.001.9011.0511.05
#FFFFFF1.901.0021.0021.00
#00000011.0521.001.001.00
##00000011.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0BBFA
Deuteranopia (green-blind)
#A6BCF5
Tritanopia (blue-blind)
#C9B9C8
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cfaef7;
/* rgb */ color: rgb(207, 174, 247);
/* oklch */ color: oklch(80.5% 0.107 304.8);
Tailwind
colors: {
  custom: {
    50: '#dec6fa',
    500: '#cfaef7',
    950: '#000000',
  },
}
SCSS
$custom: #cfaef7;
$custom-light: #dec6fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cfaef7",
  "rgb": {
    "r": 207,
    "g": 174,
    "b": 247
  },
  "hsl": {
    "h": 267.123,
    "s": 82.022,
    "l": 82.549
  },
  "oklch": {
    "l": 0.8051,
    "c": 0.1066,
    "h": 304.8
  },
  "luminance": 0.50253
}

Semantic roles & 50–950 ramp

primary
#CFAEF7
secondary
#AAD971
accent
#DE077D
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285

Preview Lab

Preview with #CFAEF7

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

Preview Lab → · Contrast checker → · Palette generator →

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