#CF8BCD#CF8BCD

#CF8BCD is a light, moderate purple. Relative luminance 0.361; OKLCH L 72.7% C 0.120 H 327.7°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#CF8BCD
RGBrgb(207, 139, 205)
HSLhsl(302, 41%, 68%)
HSVhsv(302, 33%, 81%)
CMYKcmyk(0%, 32.9%, 1%, 18.8%)
CIE-LABlab(66.63, 36.37, -23.58)
CIE-LCHlch(66.63, 43.34, 327.04°)
OKLaboklab(72.68% 0.1011 -0.0639)
OKLCHoklch(72.68% 0.12 327.7)
XYZxyz(45.9833, 36.1402, 62.2993)
Luminance0.3614 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8BCD #8BCF8D
analogous
#AF8BCF #CF8BCD #CF8BAB
triadic
#CF8BCD #CDCF8B #8BCDCF
tetradic
#CF8BCD #CFAF8B #8BCF8D #8BABCF
square
#CF8BCD #CFAF8B #8BCF8D #8BABCF
split-complementary
#CF8BCD #ABCF8B #8BCFAF
monochromatic
#9E419B #BD60BA #CF8BCD #E1B6E0 #F3E2F2

Accessibility & contrast

On white

2.55
#CF8BCD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#CF8BCD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8BCD
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8BCD#FFFFFF#000000##000000
##CF8BCD1.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#879DD0
Deuteranopia (green-blind)
#98A5CB
Tritanopia (blue-blind)
#D391A3
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cf8bcd;
/* rgb */ color: rgb(207, 139, 205);
/* oklch */ color: oklch(72.7% 0.120 327.7);
Tailwind
colors: {
  custom: {
    50: '#deaedc',
    500: '#cf8bcd',
    950: '#000000',
  },
}
SCSS
$custom: #cf8bcd;
$custom-light: #deaedc;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8bcd",
  "rgb": {
    "r": 207,
    "g": 139,
    "b": 205
  },
  "hsl": {
    "h": 301.765,
    "s": 41.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.72678,
    "c": 0.11962,
    "h": 327.7
  },
  "luminance": 0.36138
}

Semantic roles & 50–950 ramp

primary
#CF8BCD
secondary
#D0E5D1
accent
#B53531
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #CF8BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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