#CF9CDC#CF9CDC

#CF9CDC is a light, moderate purple. Relative luminance 0.422; OKLCH L 76.2% C 0.105 H 319.3°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#CF9CDC
RGBrgb(207, 156, 220)
HSLhsl(288, 48%, 74%)
HSVhsv(288, 29%, 86%)
CMYKcmyk(5.9%, 29.1%, 0%, 13.7%)
CIE-LABlab(71.02, 30.00, -25.16)
CIE-LCHlch(71.02, 39.15, 320.01°)
OKLaboklab(76.2% 0.0797 -0.0685)
OKLCHoklch(76.2% 0.105 319.3)
XYZxyz(50.5371, 42.2108, 73.1816)
Luminance0.4221 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF9CDC #A9DC9C
analogous
#AF9CDC #CF9CDC #DC9CC9
triadic
#CF9CDC #DCCF9C #9CDCCF
tetradic
#CF9CDC #DCAF9C #A9DC9C #9CC9DC
square
#CF9CDC #DCAF9C #A9DC9C #9CC9DC
split-complementary
#CF9CDC #C9DC9C #9CDCAF
monochromatic
#A342BB #B96FCC #CF9CDC #E5C9EC #F4E8F7

Accessibility & contrast

On white

2.22
#CF9CDC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.44
#CF9CDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF9CDC
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF9CDC#FFFFFF#000000##000000
##CF9CDC1.002.229.449.44
#FFFFFF2.221.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#94AADF
Deuteranopia (green-blind)
#A0B0DA
Tritanopia (blue-blind)
#D0A3B3
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cf9cdc;
/* rgb */ color: rgb(207, 156, 220);
/* oklch */ color: oklch(76.2% 0.105 319.3);
Tailwind
colors: {
  custom: {
    50: '#deb9e7',
    500: '#cf9cdc',
    950: '#000000',
  },
}
SCSS
$custom: #cf9cdc;
$custom-light: #deb9e7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf9cdc",
  "rgb": {
    "r": 207,
    "g": 156,
    "b": 220
  },
  "hsl": {
    "h": 287.813,
    "s": 47.761,
    "l": 73.725
  },
  "oklch": {
    "l": 0.76196,
    "c": 0.10509,
    "h": 319.3
  },
  "luminance": 0.4221
}

Semantic roles & 50–950 ramp

primary
#CF9CDC
secondary
#E0EEDD
accent
#BB2A48
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CF9CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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