#CFAAFE#CFAAFE

#CFAAFE is a light, vivid violet. Relative luminance 0.492; OKLCH L 80.1% C 0.122 H 304.0°. Best body text is #000000 at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#CFAAFE
RGBrgb(207, 170, 254)
HSLhsl(266, 98%, 83%)
HSVhsv(266, 33%, 100%)
CMYKcmyk(18.5%, 33.1%, 0%, 0.4%)
CIE-LABlab(75.56, 29.44, -36.67)
CIE-LCHlch(75.56, 47.02, 308.76°)
OKLaboklab(80.09% 0.0682 -0.1012)
OKLCHoklch(80.09% 0.122 304)
XYZxyz(57.9926, 49.1708, 100.1825)
Luminance0.4917 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAAFE #D9FEAA
analogous
#AAAFFE #CFAAFE #F9AAFE
triadic
#CFAAFE #FECFAA #AAFECF
tetradic
#CFAAFE #FEAAAF #D9FEAA #AAFEF9
square
#CFAAFE #FEAAAF #D9FEAA #AAFEF9
split-complementary
#CFAAFE #FEF9AA #AFFEAA
monochromatic
#8B31FD #AD6EFD #CFAAFE #EEE1FF #EEE1FF

Accessibility & contrast

On white

1.94
#CFAAFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.83
#CFAAFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAAFE
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAAFE#FFFFFF#000000##000000
##CFAAFE1.001.9410.8310.83
#FFFFFF1.941.0021.0021.00
#00000010.8321.001.001.00
##00000010.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#98B9FF
Deuteranopia (green-blind)
#A0BAFC
Tritanopia (blue-blind)
#C8B7C9
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cfaafe;
/* rgb */ color: rgb(207, 170, 254);
/* oklch */ color: oklch(80.1% 0.122 304.0);
Tailwind
colors: {
  custom: {
    50: '#dec3ff',
    500: '#cfaafe',
    950: '#000000',
  },
}
SCSS
$custom: #cfaafe;
$custom-light: #dec3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cfaafe",
  "rgb": {
    "r": 207,
    "g": 170,
    "b": 254
  },
  "hsl": {
    "h": 266.429,
    "s": 97.674,
    "l": 83.137
  },
  "oklch": {
    "l": 0.80089,
    "c": 0.12207,
    "h": 304
  },
  "luminance": 0.49171
}

Semantic roles & 50–950 ramp

primary
#CFAAFE
secondary
#E8F7D4
accent
#E60080
background
#FDFCFF
surface
#FBF8FF
border
#D4D1D7
text
#151218
muted
#838186

Preview Lab

Preview with #CFAAFE

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

Preview Lab → · Contrast checker → · Palette generator →

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