#CFAAF7#CFAAF7

#CFAAF7 is a light, moderate violet. Relative luminance 0.487; OKLCH L 79.8% C 0.113 H 306.0°. Best body text is #000000 at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#CFAAF7
RGBrgb(207, 170, 247)
HSLhsl(269, 83%, 82%)
HSVhsv(269, 31%, 97%)
CMYKcmyk(16.2%, 31.2%, 0%, 3.1%)
CIE-LABlab(75.28, 27.92, -33.31)
CIE-LCHlch(75.28, 43.46, 309.96°)
OKLaboklab(79.79% 0.0665 -0.0916)
OKLCHoklch(79.79% 0.113 306)
XYZxyz(56.8921, 48.7306, 94.3864)
Luminance0.4873 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAAF7 #D2F7AA
analogous
#AAACF7 #CFAAF7 #F6AAF7
triadic
#CFAAF7 #F7CFAA #AAF7CF
tetradic
#CFAAF7 #F7AAAC #D2F7AA #AAF7F6
square
#CFAAF7 #F7AAAC #D2F7AA #AAF7F6
split-complementary
#CFAAF7 #F7F6AA #ACF7AA
monochromatic
#903AEC #AF72F2 #CFAAF7 #EFE2FC #EFE3FC

Accessibility & contrast

On white

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

On black

10.75
#CFAAF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAAF7
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAAF7#FFFFFF#000000##000000
##CFAAF71.001.9510.7510.75
#FFFFFF1.951.0021.0021.00
#00000010.7521.001.001.00
##00000010.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BB8FA
Deuteranopia (green-blind)
#A2BAF5
Tritanopia (blue-blind)
#C9B5C6
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cfaaf7;
/* rgb */ color: rgb(207, 170, 247);
/* oklch */ color: oklch(79.8% 0.113 306.0);
Tailwind
colors: {
  custom: {
    50: '#dec3fa',
    500: '#cfaaf7',
    950: '#000000',
  },
}
SCSS
$custom: #cfaaf7;
$custom-light: #dec3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cfaaf7",
  "rgb": {
    "r": 207,
    "g": 170,
    "b": 247
  },
  "hsl": {
    "h": 268.831,
    "s": 82.796,
    "l": 81.765
  },
  "oklch": {
    "l": 0.79789,
    "c": 0.11324,
    "h": 306
  },
  "luminance": 0.4873
}

Semantic roles & 50–950 ramp

primary
#CFAAF7
secondary
#E6F4D7
accent
#DF0677
background
#FDFCFF
surface
#FBF8FF
border
#D4D1D7
text
#151217
muted
#838185

Preview Lab

Preview with #CFAAF7

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

Preview Lab → · Contrast checker → · Palette generator →

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