#CF8CD4#CF8CD4

#CF8CD4 is a light, vivid purple. Relative luminance 0.368; OKLCH L 73.1% C 0.125 H 324.3°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#CF8CD4
RGBrgb(207, 140, 212)
HSLhsl(296, 46%, 69%)
HSVhsv(296, 34%, 83%)
CMYKcmyk(2.4%, 34%, 0%, 16.9%)
CIE-LABlab(67.11, 37.14, -26.73)
CIE-LCHlch(67.11, 45.76, 324.25°)
OKLaboklab(73.13% 0.1015 -0.0728)
OKLCHoklch(73.13% 0.125 324.3)
XYZxyz(46.9927, 36.7767, 66.8978)
Luminance0.3678 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8CD4 #91D48C
analogous
#AB8CD4 #CF8CD4 #D48CB5
triadic
#CF8CD4 #D4CF8C #8CD4CF
tetradic
#CF8CD4 #D4AB8C #91D48C #8CB5D4
square
#CF8CD4 #D4AB8C #91D48C #8CB5D4
split-complementary
#CF8CD4 #B5D48C #8CD4AB
monochromatic
#A03EA7 #BC5FC3 #CF8CD4 #E2B9E5 #F4E5F5

Accessibility & contrast

On white

2.51
#CF8CD4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#CF8CD4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8CD4
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8CD4#FFFFFF#000000##000000
##CF8CD41.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#859ED7
Deuteranopia (green-blind)
#96A6D2
Tritanopia (blue-blind)
#D293A7
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cf8cd4;
/* rgb */ color: rgb(207, 140, 212);
/* oklch */ color: oklch(73.1% 0.125 324.3);
Tailwind
colors: {
  custom: {
    50: '#dfaee1',
    500: '#cf8cd4',
    950: '#000000',
  },
}
SCSS
$custom: #cf8cd4;
$custom-light: #dfaee1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8cd4",
  "rgb": {
    "r": 207,
    "g": 140,
    "b": 212
  },
  "hsl": {
    "h": 295.833,
    "s": 45.57,
    "l": 69.02
  },
  "oklch": {
    "l": 0.73129,
    "c": 0.12485,
    "h": 324.3
  },
  "luminance": 0.36775
}

Semantic roles & 50–950 ramp

primary
#CF8CD4
secondary
#D5E8D3
accent
#B92D36
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #CF8CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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