#CF9ECD#CF9ECD

#CF9ECD is a light, moderate purple. Relative luminance 0.421; OKLCH L 76.0% C 0.086 H 327.7°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#CF9ECD
RGBrgb(207, 158, 205)
HSLhsl(302, 34%, 72%)
HSVhsv(302, 24%, 81%)
CMYKcmyk(0%, 23.7%, 1%, 18.8%)
CIE-LABlab(70.96, 26.03, -16.99)
CIE-LCHlch(70.96, 31.09, 326.87°)
OKLaboklab(75.98% 0.0723 -0.0457)
OKLCHoklch(75.98% 0.086 327.7)
XYZxyz(48.9773, 42.1283, 63.2973)
Luminance0.4213 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF9ECD #9ECFA0
analogous
#B99ECF #CF9ECD #CF9EB5
triadic
#CF9ECD #CDCF9E #9ECDCF
tetradic
#CF9ECD #CFB99E #9ECFA0 #9EB5CF
square
#CF9ECD #CFB99E #9ECFA0 #9EB5CF
split-complementary
#CF9ECD #B5CF9E #9ECFB9
monochromatic
#A2509F #BB75B8 #CF9ECD #E3C7E2 #F5EBF4

Accessibility & contrast

On white

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

On black

9.43
#CF9ECD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF9ECD
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF9ECD#FFFFFF#000000##000000
##CF9ECD1.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BAACF
Deuteranopia (green-blind)
#A7B0CB
Tritanopia (blue-blind)
#D3A2AE
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cf9ecd;
/* rgb */ color: rgb(207, 158, 205);
/* oklch */ color: oklch(76.0% 0.086 327.7);
Tailwind
colors: {
  custom: {
    50: '#debbdc',
    500: '#cf9ecd',
    950: '#000000',
  },
}
SCSS
$custom: #cf9ecd;
$custom-light: #debbdc;
$custom-dark: #000000;
JSON
{
  "hex": "#cf9ecd",
  "rgb": {
    "r": 207,
    "g": 158,
    "b": 205
  },
  "hsl": {
    "h": 302.449,
    "s": 33.793,
    "l": 71.569
  },
  "oklch": {
    "l": 0.75981,
    "c": 0.0855,
    "h": 327.7
  },
  "luminance": 0.42127
}

Semantic roles & 50–950 ramp

primary
#CF9ECD
secondary
#DEEBDF
accent
#AD3E39
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151215
muted
#838183

Preview Lab

Preview with #CF9ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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