#CF8DCA#CF8DCA

#CF8DCA is a light, moderate purple. Relative luminance 0.366; OKLCH L 72.9% C 0.113 H 329.3°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#CF8DCA
RGBrgb(207, 141, 202)
HSLhsl(305, 41%, 68%)
HSVhsv(305, 32%, 81%)
CMYKcmyk(0%, 31.9%, 2.4%, 18.8%)
CIE-LABlab(66.96, 34.73, -21.39)
CIE-LCHlch(66.96, 40.79, 328.37°)
OKLaboklab(72.9% 0.0973 -0.0578)
OKLCHoklch(72.9% 0.113 329.3)
XYZxyz(45.9169, 36.5812, 60.5079)
Luminance0.3658 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8DCA #8DCF92
analogous
#B38DCF #CF8DCA #CF8DA9
triadic
#CF8DCA #CACF8D #8DCACF
tetradic
#CF8DCA #CFB38D #8DCF92 #8DA9CF
square
#CF8DCA #CFB38D #8DCF92 #8DA9CF
split-complementary
#CF8DCA #A9CF8D #8DCFB3
monochromatic
#9F4398 #BD62B6 #CF8DCA #E1B8DE #F3E3F2

Accessibility & contrast

On white

2.53
#CF8DCA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#CF8DCA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8DCA
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8DCA#FFFFFF#000000##000000
##CF8DCA1.002.538.328.32
#FFFFFF2.531.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A9DCC
Deuteranopia (green-blind)
#9AA6C8
Tritanopia (blue-blind)
#D492A3
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cf8dca;
/* rgb */ color: rgb(207, 141, 202);
/* oklch */ color: oklch(72.9% 0.113 329.3);
Tailwind
colors: {
  custom: {
    50: '#deafda',
    500: '#cf8dca',
    950: '#000000',
  },
}
SCSS
$custom: #cf8dca;
$custom-light: #deafda;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8dca",
  "rgb": {
    "r": 207,
    "g": 141,
    "b": 202
  },
  "hsl": {
    "h": 304.545,
    "s": 40.741,
    "l": 68.235
  },
  "oklch": {
    "l": 0.72896,
    "c": 0.11315,
    "h": 329.3
  },
  "luminance": 0.36579
}

Semantic roles & 50–950 ramp

primary
#CF8DCA
secondary
#D2E6D3
accent
#B43C32
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#151014
muted
#837F83

Preview Lab

Preview with #CF8DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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