#CF8DCF#CF8DCF

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

Color values

HEX#CF8DCF
RGBrgb(207, 141, 207)
HSLhsl(300, 41%, 68%)
HSVhsv(300, 32%, 81%)
CMYKcmyk(0%, 31.9%, 0%, 18.8%)
CIE-LABlab(67.14, 35.66, -23.90)
CIE-LCHlch(67.14, 42.93, 326.17°)
OKLaboklab(73.09% 0.0987 -0.0648)
OKLCHoklch(73.09% 0.118 326.7)
XYZxyz(46.5185, 36.8219, 63.6763)
Luminance0.3682 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8DCF #8DCF8D
analogous
#AE8DCF #CF8DCF #CF8DAE
triadic
#CF8DCF #CFCF8D #8DCFCF
tetradic
#CF8DCF #CFAE8D #8DCF8D #8DAECF
square
#CF8DCF #CFAE8D #8DCF8D #8DAECF
split-complementary
#CF8DCF #AECF8D #8DCFAE
monochromatic
#9F439F #BD62BD #CF8DCF #E1B8E1 #F3E3F3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF8DCF#FFFFFF#000000##000000
##CF8DCF1.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)
#889ED2
Deuteranopia (green-blind)
#98A6CD
Tritanopia (blue-blind)
#D393A5
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cf8dcf;
/* rgb */ color: rgb(207, 141, 207);
/* oklch */ color: oklch(73.1% 0.118 326.7);
Tailwind
colors: {
  custom: {
    50: '#deafdd',
    500: '#cf8dcf',
    950: '#000000',
  },
}
SCSS
$custom: #cf8dcf;
$custom-light: #deafdd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8dcf",
  "rgb": {
    "r": 207,
    "g": 141,
    "b": 207
  },
  "hsl": {
    "h": 300,
    "s": 40.741,
    "l": 68.235
  },
  "oklch": {
    "l": 0.73093,
    "c": 0.11803,
    "h": 326.7
  },
  "luminance": 0.3682
}

Semantic roles & 50–950 ramp

primary
#CF8DCF
secondary
#D2E6D2
accent
#B43232
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #CF8DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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