#CCA7DB#CCA7DB

#CCA7DB is a light, moderate purple. Relative luminance 0.456; OKLCH L 77.9% C 0.083 H 316.1°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#CCA7DB
RGBrgb(204, 167, 219)
HSLhsl(283, 42%, 76%)
HSVhsv(283, 24%, 86%)
CMYKcmyk(6.8%, 23.7%, 0%, 14.1%)
CIE-LABlab(73.28, 22.81, -21.19)
CIE-LCHlch(73.28, 31.14, 317.12°)
OKLaboklab(77.85% 0.0597 -0.0574)
OKLCHoklch(77.85% 0.083 316.1)
XYZxyz(51.5048, 45.5901, 73.0906)
Luminance0.4559 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCA7DB #B6DBA7
analogous
#B2A7DB #CCA7DB #DBA7D0
triadic
#CCA7DB #DBCCA7 #A7DBCC
tetradic
#CCA7DB #DBB2A7 #B6DBA7 #A7D0DB
square
#CCA7DB #DBB2A7 #B6DBA7 #A7D0DB
split-complementary
#CCA7DB #D0DBA7 #A7DBB2
monochromatic
#9A50B7 #B37CC9 #CCA7DB #E5D2ED #F2E9F6

Accessibility & contrast

On white

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

On black

10.12
#CCA7DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCA7DB
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCA7DB#FFFFFF#000000##000000
##CCA7DB1.002.0810.1210.12
#FFFFFF2.081.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0B2DD
Deuteranopia (green-blind)
#A8B5D9
Tritanopia (blue-blind)
#CCADB9
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cca7db;
/* rgb */ color: rgb(204, 167, 219);
/* oklch */ color: oklch(77.9% 0.083 316.1);
Tailwind
colors: {
  custom: {
    50: '#dcc1e6',
    500: '#cca7db',
    950: '#000000',
  },
}
SCSS
$custom: #cca7db;
$custom-light: #dcc1e6;
$custom-dark: #000000;
JSON
{
  "hex": "#cca7db",
  "rgb": {
    "r": 204,
    "g": 167,
    "b": 219
  },
  "hsl": {
    "h": 282.692,
    "s": 41.935,
    "l": 75.686
  },
  "oklch": {
    "l": 0.77851,
    "c": 0.08285,
    "h": 316.1
  },
  "luminance": 0.45589
}

Semantic roles & 50–950 ramp

primary
#CCA7DB
secondary
#E2EDDE
accent
#B53057
background
#FDFBFE
surface
#FBF7FC
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #CCA7DB

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

Preview Lab → · Contrast checker → · Palette generator →

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