#CFA4DF#CFA4DF

#CFA4DF is a light, moderate purple. Relative luminance 0.451; OKLCH L 77.7% C 0.094 H 316.7°. Best body text is #000000 at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#CFA4DF
RGBrgb(207, 164, 223)
HSLhsl(284, 48%, 76%)
HSVhsv(284, 26%, 87%)
CMYKcmyk(7.2%, 26.5%, 0%, 12.5%)
CIE-LABlab(72.99, 26.22, -23.79)
CIE-LCHlch(72.99, 35.41, 317.78°)
OKLaboklab(77.74% 0.0687 -0.0647)
OKLCHoklch(77.74% 0.094 316.7)
XYZxyz(52.3249, 45.1450, 75.7551)
Luminance0.4514 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA4DF #B4DFA4
analogous
#B1A4DF #CFA4DF #DFA4D1
triadic
#CFA4DF #DFCFA4 #A4DFCF
tetradic
#CFA4DF #DFB1A4 #B4DFA4 #A4D1DF
square
#CFA4DF #DFB1A4 #B4DFA4 #A4D1DF
split-complementary
#CFA4DF #D1DFA4 #A4DFB1
monochromatic
#9F49BF #B777CF #CFA4DF #E7D1EF #F3E8F7

Accessibility & contrast

On white

2.09
#CFA4DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.03
#CFA4DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA4DF
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA4DF#FFFFFF#000000##000000
##CFA4DF1.002.0910.0310.03
#FFFFFF2.091.0021.0021.00
#00000010.0321.001.001.00
##00000010.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CB0E1
Deuteranopia (green-blind)
#A6B5DD
Tritanopia (blue-blind)
#CFABB9
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cfa4df;
/* rgb */ color: rgb(207, 164, 223);
/* oklch */ color: oklch(77.7% 0.094 316.7);
Tailwind
colors: {
  custom: {
    50: '#debfe9',
    500: '#cfa4df',
    950: '#000000',
  },
}
SCSS
$custom: #cfa4df;
$custom-light: #debfe9;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa4df",
  "rgb": {
    "r": 207,
    "g": 164,
    "b": 223
  },
  "hsl": {
    "h": 283.729,
    "s": 47.967,
    "l": 75.882
  },
  "oklch": {
    "l": 0.77739,
    "c": 0.09436,
    "h": 316.7
  },
  "luminance": 0.45144
}

Semantic roles & 50–950 ramp

primary
#CFA4DF
secondary
#E2EEDD
accent
#BB2A52
background
#FDFBFE
surface
#FBF7FC
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #CFA4DF

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

Preview Lab → · Contrast checker → · Palette generator →

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