#CF8FD2#CF8FD2

#CF8FD2 is a light, moderate purple. Relative luminance 0.376; OKLCH L 73.6% C 0.117 H 325.2°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#CF8FD2
RGBrgb(207, 143, 210)
HSLhsl(297, 43%, 69%)
HSVhsv(297, 32%, 82%)
CMYKcmyk(1.4%, 31.9%, 0%, 17.6%)
CIE-LABlab(67.70, 35.14, -24.72)
CIE-LCHlch(67.70, 42.96, 324.88°)
OKLaboklab(73.55% 0.0964 -0.0671)
OKLCHoklch(73.55% 0.118 325.2)
XYZxyz(47.1863, 37.5651, 65.7255)
Luminance0.3756 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8FD2 #92D28F
analogous
#AE8FD2 #CF8FD2 #D28FB4
triadic
#CF8FD2 #D2CF8F #8FD2CF
tetradic
#CF8FD2 #D2AE8F #92D28F #8FB4D2
square
#CF8FD2 #D2AE8F #92D28F #8FB4D2
split-complementary
#CF8FD2 #B4D28F #8FD2AE
monochromatic
#A042A5 #BC63C0 #CF8FD2 #E2BBE4 #F4E6F5

Accessibility & contrast

On white

2.47
#CF8FD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#CF8FD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8FD2
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8FD2#FFFFFF#000000##000000
##CF8FD21.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A0D5
Deuteranopia (green-blind)
#99A8D0
Tritanopia (blue-blind)
#D295A7
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cf8fd2;
/* rgb */ color: rgb(207, 143, 210);
/* oklch */ color: oklch(73.6% 0.117 325.2);
Tailwind
colors: {
  custom: {
    50: '#deb0e0',
    500: '#cf8fd2',
    950: '#000000',
  },
}
SCSS
$custom: #cf8fd2;
$custom-light: #deb0e0;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8fd2",
  "rgb": {
    "r": 207,
    "g": 143,
    "b": 210
  },
  "hsl": {
    "h": 297.313,
    "s": 42.675,
    "l": 69.216
  },
  "oklch": {
    "l": 0.73551,
    "c": 0.1175,
    "h": 325.2
  },
  "luminance": 0.37563
}

Semantic roles & 50–950 ramp

primary
#CF8FD2
secondary
#D6E8D5
accent
#B63036
background
#FDFAFD
surface
#FBF5FB
border
#D4CFD4
text
#151015
muted
#837F83

Preview Lab

Preview with #CF8FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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