#CF8CD2#CF8CD2

#CF8CD2 is a light, vivid purple. Relative luminance 0.367; OKLCH L 73.0% C 0.123 H 325.3°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#CF8CD2
RGBrgb(207, 140, 210)
HSLhsl(297, 44%, 69%)
HSVhsv(297, 33%, 82%)
CMYKcmyk(1.4%, 33.3%, 0%, 17.6%)
CIE-LABlab(67.03, 36.76, -25.74)
CIE-LCHlch(67.03, 44.87, 325.00°)
OKLaboklab(73.05% 0.1009 -0.07)
OKLCHoklch(73.05% 0.123 325.3)
XYZxyz(46.7419, 36.6764, 65.5773)
Luminance0.3668 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8CD2 #8FD28C
analogous
#AC8CD2 #CF8CD2 #D28CB2
triadic
#CF8CD2 #D2CF8C #8CD2CF
tetradic
#CF8CD2 #D2AC8C #8FD28C #8CB2D2
square
#CF8CD2 #D2AC8C #8FD28C #8CB2D2
split-complementary
#CF8CD2 #B2D28C #8CD2AC
monochromatic
#9F40A4 #BD60C1 #CF8CD2 #E1B8E3 #F4E4F4

Accessibility & contrast

On white

2.52
#CF8CD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#CF8CD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8CD2
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8CD2#FFFFFF#000000##000000
##CF8CD21.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#869ED5
Deuteranopia (green-blind)
#97A6D0
Tritanopia (blue-blind)
#D393A6
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cf8cd2;
/* rgb */ color: rgb(207, 140, 210);
/* oklch */ color: oklch(73.0% 0.123 325.3);
Tailwind
colors: {
  custom: {
    50: '#deaee0',
    500: '#cf8cd2',
    950: '#000000',
  },
}
SCSS
$custom: #cf8cd2;
$custom-light: #deaee0;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8cd2",
  "rgb": {
    "r": 207,
    "g": 140,
    "b": 210
  },
  "hsl": {
    "h": 297.429,
    "s": 43.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.73047,
    "c": 0.12282,
    "h": 325.3
  },
  "luminance": 0.36675
}

Semantic roles & 50–950 ramp

primary
#CF8CD2
secondary
#D3E7D2
accent
#B72F34
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #CF8CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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