#CF8CD0#CF8CD0

#CF8CD0 is a light, vivid purple. Relative luminance 0.366; OKLCH L 73.0% C 0.121 H 326.2°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#CF8CD0
RGBrgb(207, 140, 208)
HSLhsl(299, 42%, 68%)
HSVhsv(299, 33%, 82%)
CMYKcmyk(0.5%, 32.7%, 0%, 18.4%)
CIE-LABlab(66.96, 36.38, -24.74)
CIE-LCHlch(66.96, 44.00, 325.79°)
OKLaboklab(72.97% 0.1004 -0.0671)
OKLCHoklch(72.97% 0.121 326.2)
XYZxyz(46.4943, 36.5773, 64.2733)
Luminance0.3658 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8CD0 #8DD08C
analogous
#AD8CD0 #CF8CD0 #D08CAF
triadic
#CF8CD0 #D0CF8C #8CD0CF
tetradic
#CF8CD0 #D0AD8C #8DD08C #8CAFD0
square
#CF8CD0 #D0AD8C #8DD08C #8CAFD0
split-complementary
#CF8CD0 #AFD08C #8CD0AD
monochromatic
#9F41A0 #BD61BE #CF8CD0 #E1B7E2 #F3E3F4

Accessibility & contrast

On white

2.53
#CF8CD0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#CF8CD0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8CD0
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8CD0#FFFFFF#000000##000000
##CF8CD01.002.538.328.32
#FFFFFF2.531.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#879ED3
Deuteranopia (green-blind)
#97A6CE
Tritanopia (blue-blind)
#D392A5
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cf8cd0;
/* rgb */ color: rgb(207, 140, 208);
/* oklch */ color: oklch(73.0% 0.121 326.2);
Tailwind
colors: {
  custom: {
    50: '#deaede',
    500: '#cf8cd0',
    950: '#000000',
  },
}
SCSS
$custom: #cf8cd0;
$custom-light: #deaede;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8cd0",
  "rgb": {
    "r": 207,
    "g": 140,
    "b": 208
  },
  "hsl": {
    "h": 299.118,
    "s": 41.975,
    "l": 68.235
  },
  "oklch": {
    "l": 0.72966,
    "c": 0.1208,
    "h": 326.2
  },
  "luminance": 0.36576
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF8CD0

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

Preview Lab → · Contrast checker → · Palette generator →

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