#CFAAF9#CFAAF9

#CFAAF9 is a light, moderate violet. Relative luminance 0.489; OKLCH L 79.9% C 0.116 H 305.4°. Best body text is #000000 at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#CFAAF9
RGBrgb(207, 170, 249)
HSLhsl(268, 87%, 82%)
HSVhsv(268, 32%, 98%)
CMYKcmyk(16.9%, 31.7%, 0%, 2.4%)
CIE-LABlab(75.36, 28.35, -34.27)
CIE-LCHlch(75.36, 44.48, 309.59°)
OKLaboklab(79.87% 0.067 -0.0944)
OKLCHoklch(79.87% 0.116 305.4)
XYZxyz(57.2024, 48.8547, 96.0205)
Luminance0.4885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAAF9 #D4F9AA
analogous
#AAADF9 #CFAAF9 #F6AAF9
triadic
#CFAAF9 #F9CFAA #AAF9CF
tetradic
#CFAAF9 #F9AAAD #D4F9AA #AAF9F6
square
#CFAAF9 #F9AAAD #D4F9AA #AAF9F6
split-complementary
#CFAAF9 #F9F6AA #ADF9AA
monochromatic
#8E38F1 #AF71F5 #CFAAF9 #EFE2FD #EFE2FD

Accessibility & contrast

On white

1.95
#CFAAF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.77
#CFAAF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAAF9
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAAF9#FFFFFF#000000##000000
##CFAAF91.001.9510.7710.77
#FFFFFF1.951.0021.0021.00
#00000010.7721.001.001.00
##00000010.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AB8FC
Deuteranopia (green-blind)
#A2BAF7
Tritanopia (blue-blind)
#C9B6C7
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cfaaf9;
/* rgb */ color: rgb(207, 170, 249);
/* oklch */ color: oklch(79.9% 0.116 305.4);
Tailwind
colors: {
  custom: {
    50: '#dec3fb',
    500: '#cfaaf9',
    950: '#000000',
  },
}
SCSS
$custom: #cfaaf9;
$custom-light: #dec3fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cfaaf9",
  "rgb": {
    "r": 207,
    "g": 170,
    "b": 249
  },
  "hsl": {
    "h": 268.101,
    "s": 86.813,
    "l": 82.157
  },
  "oklch": {
    "l": 0.79874,
    "c": 0.11575,
    "h": 305.4
  },
  "luminance": 0.48854
}

Semantic roles & 50–950 ramp

primary
#CFAAF9
secondary
#E6F5D6
accent
#E3027A
background
#FDFCFF
surface
#FBF8FF
border
#D4D1D7
text
#151217
muted
#838185

Preview Lab

Preview with #CFAAF9

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

Preview Lab → · Contrast checker → · Palette generator →

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