#CFAAEE#CFAAEE

#CFAAEE is a light, moderate violet. Relative luminance 0.482; OKLCH L 79.4% C 0.102 H 309.0°. Best body text is #000000 at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#CFAAEE
RGBrgb(207, 170, 238)
HSLhsl(273, 67%, 80%)
HSVhsv(273, 29%, 93%)
CMYKcmyk(13%, 28.6%, 0%, 6.7%)
CIE-LABlab(74.94, 26.01, -28.96)
CIE-LCHlch(74.94, 38.93, 311.92°)
OKLaboklab(79.42% 0.0642 -0.0793)
OKLCHoklch(79.42% 0.102 309)
XYZxyz(55.5367, 48.1884, 87.2479)
Luminance0.4819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAAEE #C9EEAA
analogous
#ADAAEE #CFAAEE #EEAAEB
triadic
#CFAAEE #EECFAA #AAEECF
tetradic
#CFAAEE #EEADAA #C9EEAA #AAEBEE
square
#CFAAEE #EEADAA #C9EEAA #AAEBEE
split-complementary
#CFAAEE #EBEEAA #AAEEAD
monochromatic
#9544DA #B277E4 #CFAAEE #ECDDF8 #F1E5FA

Accessibility & contrast

On white

1.97
#CFAAEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.64
#CFAAEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAAEE
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAAEE#FFFFFF#000000##000000
##CFAAEE1.001.9710.6410.64
#FFFFFF1.971.0021.0021.00
#00000010.6421.001.001.00
##00000010.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EB7F1
Deuteranopia (green-blind)
#A6B9EC
Tritanopia (blue-blind)
#CBB3C2
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cfaaee;
/* rgb */ color: rgb(207, 170, 238);
/* oklch */ color: oklch(79.4% 0.102 309.0);
Tailwind
colors: {
  custom: {
    50: '#dec3f3',
    500: '#cfaaee',
    950: '#000000',
  },
}
SCSS
$custom: #cfaaee;
$custom-light: #dec3f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cfaaee",
  "rgb": {
    "r": 207,
    "g": 170,
    "b": 238
  },
  "hsl": {
    "h": 272.647,
    "s": 66.667,
    "l": 80
  },
  "oklch": {
    "l": 0.79417,
    "c": 0.10199,
    "h": 309
  },
  "luminance": 0.48188
}

Semantic roles & 50–950 ramp

primary
#CFAAEE
secondary
#E4F1DA
accent
#CF176B
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151217
muted
#838185

Preview Lab

Preview with #CFAAEE

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

Preview Lab → · Contrast checker → · Palette generator →

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