#CFAAF2#CFAAF2

#CFAAF2 is a light, moderate violet. Relative luminance 0.484; OKLCH L 79.6% C 0.107 H 307.6°. Best body text is #000000 at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#CFAAF2
RGBrgb(207, 170, 242)
HSLhsl(271, 73%, 81%)
HSVhsv(271, 30%, 95%)
CMYKcmyk(14.5%, 29.8%, 0%, 5.1%)
CIE-LABlab(75.09, 26.85, -30.90)
CIE-LCHlch(75.09, 40.94, 310.99°)
OKLaboklab(79.58% 0.0652 -0.0848)
OKLCHoklch(79.58% 0.107 307.6)
XYZxyz(56.1309, 48.4261, 90.3773)
Luminance0.4843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAAF2 #CDF2AA
analogous
#ABAAF2 #CFAAF2 #F2AAF1
triadic
#CFAAF2 #F2CFAA #AAF2CF
tetradic
#CFAAF2 #F2ABAA #CDF2AA #AAF1F2
square
#CFAAF2 #F2ABAA #CDF2AA #AAF1F2
split-complementary
#CFAAF2 #F1F2AA #AAF2AB
monochromatic
#9340E2 #B175EA #CFAAF2 #EDDFFA #F0E4FB

Accessibility & contrast

On white

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

On black

10.69
#CFAAF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAAF2
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAAF2#FFFFFF#000000##000000
##CFAAF21.001.9710.6910.69
#FFFFFF1.971.0021.0021.00
#00000010.6921.001.001.00
##00000010.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DB7F5
Deuteranopia (green-blind)
#A4B9F0
Tritanopia (blue-blind)
#CAB4C4
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cfaaf2;
/* rgb */ color: rgb(207, 170, 242);
/* oklch */ color: oklch(79.6% 0.107 307.6);
Tailwind
colors: {
  custom: {
    50: '#dec3f6',
    500: '#cfaaf2',
    950: '#000000',
  },
}
SCSS
$custom: #cfaaf2;
$custom-light: #dec3f6;
$custom-dark: #000000;
JSON
{
  "hex": "#cfaaf2",
  "rgb": {
    "r": 207,
    "g": 170,
    "b": 242
  },
  "hsl": {
    "h": 270.833,
    "s": 73.469,
    "l": 80.784
  },
  "oklch": {
    "l": 0.79581,
    "c": 0.10696,
    "h": 307.6
  },
  "luminance": 0.48426
}

Semantic roles & 50–950 ramp

primary
#CFAAF2
secondary
#E5F3D8
accent
#D61070
background
#FDFCFF
surface
#FBF8FE
border
#D4D1D6
text
#151217
muted
#838185

Preview Lab

Preview with #CFAAF2

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

Preview Lab → · Contrast checker → · Palette generator →

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