#CF9FD2#CF9FD2

#CF9FD2 is a light, moderate purple. Relative luminance 0.427; OKLCH L 76.3% C 0.089 H 324.5°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#CF9FD2
RGBrgb(207, 159, 210)
HSLhsl(296, 36%, 72%)
HSVhsv(296, 24%, 82%)
CMYKcmyk(1.4%, 24.3%, 0%, 17.6%)
CIE-LABlab(71.36, 26.43, -19.14)
CIE-LCHlch(71.36, 32.63, 324.09°)
OKLaboklab(76.35% 0.0723 -0.0516)
OKLCHoklch(76.35% 0.089 324.5)
XYZxyz(49.7618, 42.7161, 66.5840)
Luminance0.4271 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF9FD2 #A2D29F
analogous
#B69FD2 #CF9FD2 #D29FBB
triadic
#CF9FD2 #D2CF9F #9FD2CF
tetradic
#CF9FD2 #D2B69F #A2D29F #9FBBD2
square
#CF9FD2 #D2B69F #A2D29F #9FBBD2
split-complementary
#CF9FD2 #BBD29F #9FD2B6
monochromatic
#A34FA8 #BA75BE #CF9FD2 #E4C9E6 #F5EAF5

Accessibility & contrast

On white

2.20
#CF9FD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.54
#CF9FD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF9FD2
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF9FD2#FFFFFF#000000##000000
##CF9FD21.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BABD4
Deuteranopia (green-blind)
#A6B1D0
Tritanopia (blue-blind)
#D2A4B1
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cf9fd2;
/* rgb */ color: rgb(207, 159, 210);
/* oklch */ color: oklch(76.3% 0.089 324.5);
Tailwind
colors: {
  custom: {
    50: '#debbdf',
    500: '#cf9fd2',
    950: '#000000',
  },
}
SCSS
$custom: #cf9fd2;
$custom-light: #debbdf;
$custom-dark: #000000;
JSON
{
  "hex": "#cf9fd2",
  "rgb": {
    "r": 207,
    "g": 159,
    "b": 210
  },
  "hsl": {
    "h": 296.471,
    "s": 36.17,
    "l": 72.353
  },
  "oklch": {
    "l": 0.76345,
    "c": 0.08885,
    "h": 324.5
  },
  "luminance": 0.42715
}

Semantic roles & 50–950 ramp

primary
#CF9FD2
secondary
#E0ECDF
accent
#AF363E
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151215
muted
#838183

Preview Lab

Preview with #CF9FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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