#CFAAEA#CFAAEA

#CFAAEA is a light, moderate violet. Relative luminance 0.480; OKLCH L 79.3% C 0.097 H 310.5°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#CFAAEA
RGBrgb(207, 170, 234)
HSLhsl(275, 60%, 79%)
HSVhsv(275, 27%, 92%)
CMYKcmyk(11.5%, 27.4%, 0%, 8.2%)
CIE-LABlab(74.80, 25.18, -27.02)
CIE-LCHlch(74.80, 36.93, 312.98°)
OKLaboklab(79.26% 0.063 -0.0738)
OKLCHoklch(79.26% 0.097 310.5)
XYZxyz(54.9556, 47.9559, 84.1873)
Luminance0.4795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAAEA #C5EAAA
analogous
#AFAAEA #CFAAEA #EAAAE5
triadic
#CFAAEA #EACFAA #AAEACF
tetradic
#CFAAEA #EAAFAA #C5EAAA #AAE5EA
square
#CFAAEA #EAAFAA #C5EAAA #AAE5EA
split-complementary
#CFAAEA #E5EAAA #AAEAAF
monochromatic
#9848D2 #B379DE #CFAAEA #EBDBF6 #F1E6F9

Accessibility & contrast

On white

1.98
#CFAAEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.59
#CFAAEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAAEA
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAAEA#FFFFFF#000000##000000
##CFAAEA1.001.9810.5910.59
#FFFFFF1.981.0021.0021.00
#00000010.5921.001.001.00
##00000010.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0B6ED
Deuteranopia (green-blind)
#A7B9E8
Tritanopia (blue-blind)
#CCB2C1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cfaaea;
/* rgb */ color: rgb(207, 170, 234);
/* oklch */ color: oklch(79.3% 0.097 310.5);
Tailwind
colors: {
  custom: {
    50: '#dec3f1',
    500: '#cfaaea',
    950: '#000000',
  },
}
SCSS
$custom: #cfaaea;
$custom-light: #dec3f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cfaaea",
  "rgb": {
    "r": 207,
    "g": 170,
    "b": 234
  },
  "hsl": {
    "h": 274.688,
    "s": 60.377,
    "l": 79.216
  },
  "oklch": {
    "l": 0.79257,
    "c": 0.09706,
    "h": 310.5
  },
  "luminance": 0.47955
}

Semantic roles & 50–950 ramp

primary
#CFAAEA
secondary
#E4F0DB
accent
#C81D65
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151216
muted
#838184

Preview Lab

Preview with #CFAAEA

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

Preview Lab → · Contrast checker → · Palette generator →

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