#CF9DCD#CF9DCD

#CF9DCD is a light, moderate purple. Relative luminance 0.418; OKLCH L 75.8% C 0.087 H 327.7°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#CF9DCD
RGBrgb(207, 157, 205)
HSLhsl(302, 34%, 71%)
HSVhsv(302, 24%, 81%)
CMYKcmyk(0%, 24.2%, 1%, 18.8%)
CIE-LABlab(70.72, 26.58, -17.34)
CIE-LCHlch(70.72, 31.74, 326.87°)
OKLaboklab(75.8% 0.0738 -0.0466)
OKLCHoklch(75.8% 0.087 327.7)
XYZxyz(48.8074, 41.7885, 63.2407)
Luminance0.4179 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF9DCD #9DCF9F
analogous
#B89DCF #CF9DCD #CF9DB4
triadic
#CF9DCD #CDCF9D #9DCDCF
tetradic
#CF9DCD #CFB89D #9DCF9F #9DB4CF
square
#CF9DCD #CFB89D #9DCF9F #9DB4CF
split-complementary
#CF9DCD #B4CF9D #9DCFB8
monochromatic
#A24F9F #BB74B8 #CF9DCD #E3C6E2 #F5EAF5

Accessibility & contrast

On white

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

On black

9.36
#CF9DCD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF9DCD
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF9DCD#FFFFFF#000000##000000
##CF9DCD1.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AA9CF
Deuteranopia (green-blind)
#A6AFCB
Tritanopia (blue-blind)
#D3A1AE
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cf9dcd;
/* rgb */ color: rgb(207, 157, 205);
/* oklch */ color: oklch(75.8% 0.087 327.7);
Tailwind
colors: {
  custom: {
    50: '#debadc',
    500: '#cf9dcd',
    950: '#000000',
  },
}
SCSS
$custom: #cf9dcd;
$custom-light: #debadc;
$custom-dark: #000000;
JSON
{
  "hex": "#cf9dcd",
  "rgb": {
    "r": 207,
    "g": 157,
    "b": 205
  },
  "hsl": {
    "h": 302.4,
    "s": 34.247,
    "l": 71.373
  },
  "oklch": {
    "l": 0.75801,
    "c": 0.0873,
    "h": 327.7
  },
  "luminance": 0.41787
}

Semantic roles & 50–950 ramp

primary
#CF9DCD
secondary
#DDEADE
accent
#AD3D38
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CF9DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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