#CFA4E5#CFA4E5

#CFA4E5 is a light, moderate violet. Relative luminance 0.455; OKLCH L 78.0% C 0.101 H 314.0°. Best body text is #000000 at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#CFA4E5
RGBrgb(207, 164, 229)
HSLhsl(280, 56%, 77%)
HSVhsv(280, 28%, 90%)
CMYKcmyk(9.6%, 28.4%, 0%, 10.2%)
CIE-LABlab(73.20, 27.43, -26.74)
CIE-LCHlch(73.20, 38.31, 315.73°)
OKLaboklab(77.98% 0.0704 -0.073)
OKLCHoklch(77.98% 0.101 314)
XYZxyz(53.1482, 45.4743, 80.0911)
Luminance0.4547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA4E5 #BAE5A4
analogous
#AFA4E5 #CFA4E5 #E5A4DB
triadic
#CFA4E5 #E5CFA4 #A4E5CF
tetradic
#CFA4E5 #E5AFA4 #BAE5A4 #A4DBE5
square
#CFA4E5 #E5AFA4 #BAE5A4 #A4DBE5
split-complementary
#CFA4E5 #DBE5A4 #A4E5AF
monochromatic
#9D45CA #B674D7 #CFA4E5 #E8D4F3 #F2E7F8

Accessibility & contrast

On white

2.08
#CFA4E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.09
#CFA4E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA4E5
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA4E5#FFFFFF#000000##000000
##CFA4E51.002.0810.0910.09
#FFFFFF2.081.0021.0021.00
#00000010.0921.001.001.00
##00000010.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AB1E8
Deuteranopia (green-blind)
#A4B5E3
Tritanopia (blue-blind)
#CEACBB
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cfa4e5;
/* rgb */ color: rgb(207, 164, 229);
/* oklch */ color: oklch(78.0% 0.101 314.0);
Tailwind
colors: {
  custom: {
    50: '#debfed',
    500: '#cfa4e5',
    950: '#000000',
  },
}
SCSS
$custom: #cfa4e5;
$custom-light: #debfed;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa4e5",
  "rgb": {
    "r": 207,
    "g": 164,
    "b": 229
  },
  "hsl": {
    "h": 279.692,
    "s": 55.556,
    "l": 77.059
  },
  "oklch": {
    "l": 0.77976,
    "c": 0.10139,
    "h": 314
  },
  "luminance": 0.45473
}

Semantic roles & 50–950 ramp

primary
#CFA4E5
secondary
#E2EFDC
accent
#C32259
background
#FDFBFE
surface
#FBF7FD
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #CFA4E5

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

Preview Lab → · Contrast checker → · Palette generator →

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