#CF9CDA#CF9CDA

#CF9CDA is a light, moderate purple. Relative luminance 0.421; OKLCH L 76.1% C 0.103 H 320.3°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#CF9CDA
RGBrgb(207, 156, 218)
HSLhsl(289, 46%, 73%)
HSVhsv(289, 28%, 85%)
CMYKcmyk(5%, 28.4%, 0%, 14.5%)
CIE-LABlab(70.94, 29.61, -24.17)
CIE-LCHlch(70.94, 38.22, 320.77°)
OKLaboklab(76.12% 0.0792 -0.0657)
OKLCHoklch(76.12% 0.103 320.3)
XYZxyz(50.2738, 42.1055, 71.7949)
Luminance0.4210 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF9CDA #A7DA9C
analogous
#B09CDA #CF9CDA #DA9CC6
triadic
#CF9CDA #DACF9C #9CDACF
tetradic
#CF9CDA #DAB09C #A7DA9C #9CC6DA
square
#CF9CDA #DAB09C #A7DA9C #9CC6DA
split-complementary
#CF9CDA #C6DA9C #9CDAB0
monochromatic
#A344B7 #B96FC9 #CF9CDA #E5C9EB #F4E9F7

Accessibility & contrast

On white

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

On black

9.42
#CF9CDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF9CDA
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF9CDA#FFFFFF#000000##000000
##CF9CDA1.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#95AADC
Deuteranopia (green-blind)
#A1B0D8
Tritanopia (blue-blind)
#D0A3B2
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cf9cda;
/* rgb */ color: rgb(207, 156, 218);
/* oklch */ color: oklch(76.1% 0.103 320.3);
Tailwind
colors: {
  custom: {
    50: '#deb9e5',
    500: '#cf9cda',
    950: '#000000',
  },
}
SCSS
$custom: #cf9cda;
$custom-light: #deb9e5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf9cda",
  "rgb": {
    "r": 207,
    "g": 156,
    "b": 218
  },
  "hsl": {
    "h": 289.355,
    "s": 45.588,
    "l": 73.333
  },
  "oklch": {
    "l": 0.76117,
    "c": 0.10287,
    "h": 320.3
  },
  "luminance": 0.42104
}

Semantic roles & 50–950 ramp

primary
#CF9CDA
secondary
#E0EEDD
accent
#B92D46
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151115
muted
#838084

Preview Lab

Preview with #CF9CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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