#CF9CD8#CF9CD8

#CF9CD8 is a light, moderate purple. Relative luminance 0.420; OKLCH L 76.0% C 0.101 H 321.3°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#CF9CD8
RGBrgb(207, 156, 216)
HSLhsl(291, 43%, 73%)
HSVhsv(291, 28%, 85%)
CMYKcmyk(4.2%, 27.8%, 0%, 15.3%)
CIE-LABlab(70.87, 29.22, -23.18)
CIE-LCHlch(70.87, 37.30, 321.57°)
OKLaboklab(76.04% 0.0786 -0.0629)
OKLCHoklch(76.04% 0.101 321.3)
XYZxyz(50.0137, 42.0014, 70.4249)
Luminance0.4200 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF9CD8 #A5D89C
analogous
#B19CD8 #CF9CD8 #D89CC3
triadic
#CF9CD8 #D8CF9C #9CD8CF
tetradic
#CF9CD8 #D8B19C #A5D89C #9CC3D8
square
#CF9CD8 #D8B19C #A5D89C #9CC3D8
split-complementary
#CF9CD8 #C3D89C #9CD8B1
monochromatic
#A347B3 #BA70C7 #CF9CD8 #E4C8E9 #F4E9F6

Accessibility & contrast

On white

2.23
#CF9CD8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#CF9CD8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF9CD8
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF9CD8#FFFFFF#000000##000000
##CF9CD81.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#96AADA
Deuteranopia (green-blind)
#A1AFD6
Tritanopia (blue-blind)
#D1A2B1
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cf9cd8;
/* rgb */ color: rgb(207, 156, 216);
/* oklch */ color: oklch(76.0% 0.101 321.3);
Tailwind
colors: {
  custom: {
    50: '#deb9e4',
    500: '#cf9cd8',
    950: '#000000',
  },
}
SCSS
$custom: #cf9cd8;
$custom-light: #deb9e4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf9cd8",
  "rgb": {
    "r": 207,
    "g": 156,
    "b": 216
  },
  "hsl": {
    "h": 291,
    "s": 43.478,
    "l": 72.941
  },
  "oklch": {
    "l": 0.76039,
    "c": 0.10068,
    "h": 321.3
  },
  "luminance": 0.42
}

Semantic roles & 50–950 ramp

primary
#CF9CD8
secondary
#E0EDDE
accent
#B72F43
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CF9CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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