#CFA8DD#CFA8DD

#CFA8DD is a light, moderate purple. Relative luminance 0.465; OKLCH L 78.4% C 0.085 H 317.0°. Best body text is #000000 at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#CFA8DD
RGBrgb(207, 168, 221)
HSLhsl(284, 44%, 76%)
HSVhsv(284, 24%, 87%)
CMYKcmyk(6.3%, 24%, 0%, 13.3%)
CIE-LABlab(73.86, 23.64, -21.37)
CIE-LCHlch(73.86, 31.87, 317.89°)
OKLaboklab(78.39% 0.0622 -0.0579)
OKLCHoklch(78.39% 0.085 317)
XYZxyz(52.7840, 46.4920, 74.5858)
Luminance0.4649 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA8DD #B6DDA8
analogous
#B5A8DD #CFA8DD #DDA8D1
triadic
#CFA8DD #DDCFA8 #A8DDCF
tetradic
#CFA8DD #DDB5A8 #B6DDA8 #A8D1DD
square
#CFA8DD #DDB5A8 #B6DDA8 #A8D1DD
split-complementary
#CFA8DD #D1DDA8 #A8DDB5
monochromatic
#9E50BB #B77CCC #CFA8DD #E7D4EE #F3E9F6

Accessibility & contrast

On white

2.04
#CFA8DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.30
#CFA8DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA8DD
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA8DD#FFFFFF#000000##000000
##CFA8DD1.002.0410.3010.30
#FFFFFF2.041.0021.0021.00
#00000010.3021.001.001.00
##00000010.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2B3DF
Deuteranopia (green-blind)
#AAB7DB
Tritanopia (blue-blind)
#CFAEBA
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cfa8dd;
/* rgb */ color: rgb(207, 168, 221);
/* oklch */ color: oklch(78.4% 0.085 317.0);
Tailwind
colors: {
  custom: {
    50: '#dec2e7',
    500: '#cfa8dd',
    950: '#000000',
  },
}
SCSS
$custom: #cfa8dd;
$custom-light: #dec2e7;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa8dd",
  "rgb": {
    "r": 207,
    "g": 168,
    "b": 221
  },
  "hsl": {
    "h": 284.151,
    "s": 43.802,
    "l": 76.275
  },
  "oklch": {
    "l": 0.78389,
    "c": 0.08498,
    "h": 317
  },
  "luminance": 0.46491
}

Semantic roles & 50–950 ramp

primary
#CFA8DD
secondary
#E2EDDE
accent
#B72F53
background
#FDFBFE
surface
#FBF7FC
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #CFA8DD

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

Preview Lab → · Contrast checker → · Palette generator →

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