#CF8CD8#CF8CD8

#CF8CD8 is a light, vivid purple. Relative luminance 0.370; OKLCH L 73.3% C 0.129 H 322.6°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#CF8CD8
RGBrgb(207, 140, 216)
HSLhsl(293, 49%, 70%)
HSVhsv(293, 35%, 85%)
CMYKcmyk(4.2%, 35.2%, 0%, 15.3%)
CIE-LABlab(67.26, 37.90, -28.72)
CIE-LCHlch(67.26, 47.55, 322.85°)
OKLaboklab(73.3% 0.1024 -0.0784)
OKLCHoklch(73.3% 0.129 322.6)
XYZxyz(47.5035, 36.9810, 69.5882)
Luminance0.3698 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8CD8 #95D88C
analogous
#A98CD8 #CF8CD8 #D88CBB
triadic
#CF8CD8 #D8CF8C #8CD8CF
tetradic
#CF8CD8 #D8A98C #95D88C #8CBBD8
square
#CF8CD8 #D8A98C #95D88C #8CBBD8
split-complementary
#CF8CD8 #BBD88C #8CD8A9
monochromatic
#A13BAE #BC5EC9 #CF8CD8 #E2BAE7 #F5E7F7

Accessibility & contrast

On white

2.50
#CF8CD8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#CF8CD8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8CD8
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8CD8#FFFFFF#000000##000000
##CF8CD81.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#849FDB
Deuteranopia (green-blind)
#95A6D6
Tritanopia (blue-blind)
#D194A8
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cf8cd8;
/* rgb */ color: rgb(207, 140, 216);
/* oklch */ color: oklch(73.3% 0.129 322.6);
Tailwind
colors: {
  custom: {
    50: '#dfaee4',
    500: '#cf8cd8',
    950: '#000000',
  },
}
SCSS
$custom: #cf8cd8;
$custom-light: #dfaee4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8cd8",
  "rgb": {
    "r": 207,
    "g": 140,
    "b": 216
  },
  "hsl": {
    "h": 292.895,
    "s": 49.351,
    "l": 69.804
  },
  "oklch": {
    "l": 0.73296,
    "c": 0.12899,
    "h": 322.6
  },
  "luminance": 0.36979
}

Semantic roles & 50–950 ramp

primary
#CF8CD8
secondary
#D8EBD5
accent
#BD293A
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #CF8CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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