#CFAEF5#CFAEF5

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

Color values

HEX#CFAEF5
RGBrgb(207, 174, 245)
HSLhsl(268, 78%, 82%)
HSVhsv(268, 29%, 96%)
CMYKcmyk(15.5%, 29%, 0%, 3.9%)
CIE-LABlab(76.15, 25.30, -30.90)
CIE-LCHlch(76.15, 39.94, 309.32°)
OKLaboklab(80.43% 0.0603 -0.0848)
OKLCHoklch(80.43% 0.104 305.4)
XYZxyz(57.3464, 50.1303, 93.0235)
Luminance0.5013 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAEF5 #D4F5AE
analogous
#AEB1F5 #CFAEF5 #F2AEF5
triadic
#CFAEF5 #F5CFAE #AEF5CF
tetradic
#CFAEF5 #F5AEB1 #D4F5AE #AEF5F2
square
#CFAEF5 #F5AEB1 #D4F5AE #AEF5F2
split-complementary
#CFAEF5 #F5F2AE #B1F5AE
monochromatic
#8E41E8 #AF78EE #CFAEF5 #EFE4FC #EFE4FC

Accessibility & contrast

On white

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

On black

11.03
#CFAEF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAEF5
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAEF5#FFFFFF#000000##000000
##CFAEF51.001.9011.0311.03
#FFFFFF1.901.0021.0021.00
#00000011.0321.001.001.00
##00000011.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfaef5;
/* rgb */ color: rgb(207, 174, 245);
/* oklch */ color: oklch(80.4% 0.104 305.4);
Tailwind
colors: {
  custom: {
    50: '#dec6f8',
    500: '#cfaef5',
    950: '#000000',
  },
}
SCSS
$custom: #cfaef5;
$custom-light: #dec6f8;
$custom-dark: #000000;
JSON
{
  "hex": "#cfaef5",
  "rgb": {
    "r": 207,
    "g": 174,
    "b": 245
  },
  "hsl": {
    "h": 267.887,
    "s": 78.022,
    "l": 82.157
  },
  "oklch": {
    "l": 0.80427,
    "c": 0.10406,
    "h": 305.4
  },
  "luminance": 0.5013
}

Semantic roles & 50–950 ramp

primary
#CFAEF5
secondary
#A7D672
accent
#DA0B7A
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285

Preview Lab

Preview with #CFAEF5

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

Preview Lab → · Contrast checker → · Palette generator →

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