#CF9CD7#CF9CD7

#CF9CD7 is a light, moderate purple. Relative luminance 0.419; OKLCH L 76.0% C 0.100 H 321.8°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#CF9CD7
RGBrgb(207, 156, 215)
HSLhsl(292, 42%, 73%)
HSVhsv(292, 27%, 84%)
CMYKcmyk(3.7%, 27.4%, 0%, 15.7%)
CIE-LABlab(70.84, 29.02, -22.69)
CIE-LCHlch(70.84, 36.84, 321.98°)
OKLaboklab(76% 0.0783 -0.0615)
OKLCHoklch(76% 0.1 321.8)
XYZxyz(49.8848, 41.9499, 69.7461)
Luminance0.4195 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF9CD7 #A4D79C
analogous
#B19CD7 #CF9CD7 #D79CC2
triadic
#CF9CD7 #D7CF9C #9CD7CF
tetradic
#CF9CD7 #D7B19C #A4D79C #9CC2D7
square
#CF9CD7 #D7B19C #A4D79C #9CC2D7
split-complementary
#CF9CD7 #C2D79C #9CD7B1
monochromatic
#A348B1 #BA70C5 #CF9CD7 #E4C8E9 #F4E9F6

Accessibility & contrast

On white

2.24
#CF9CD7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.39
#CF9CD7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF9CD7
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF9CD7#FFFFFF#000000##000000
##CF9CD71.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cf9cd7;
/* rgb */ color: rgb(207, 156, 215);
/* oklch */ color: oklch(76.0% 0.100 321.8);
Tailwind
colors: {
  custom: {
    50: '#deb9e3',
    500: '#cf9cd7',
    950: '#000000',
  },
}
SCSS
$custom: #cf9cd7;
$custom-light: #deb9e3;
$custom-dark: #000000;
JSON
{
  "hex": "#cf9cd7",
  "rgb": {
    "r": 207,
    "g": 156,
    "b": 215
  },
  "hsl": {
    "h": 291.864,
    "s": 42.446,
    "l": 72.745
  },
  "oklch": {
    "l": 0.76,
    "c": 0.09958,
    "h": 321.8
  },
  "luminance": 0.41949
}

Semantic roles & 50–950 ramp

primary
#CF9CD7
secondary
#E0EDDE
accent
#B63042
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CF9CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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