#CF8CD3#CF8CD3

#CF8CD3 is a light, vivid purple. Relative luminance 0.367; OKLCH L 73.1% C 0.124 H 324.8°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#CF8CD3
RGBrgb(207, 140, 211)
HSLhsl(297, 45%, 69%)
HSVhsv(297, 34%, 83%)
CMYKcmyk(1.9%, 33.6%, 0%, 17.3%)
CIE-LABlab(67.07, 36.95, -26.24)
CIE-LCHlch(67.07, 45.32, 324.62°)
OKLaboklab(73.09% 0.1012 -0.0714)
OKLCHoklch(73.09% 0.124 324.8)
XYZxyz(46.8669, 36.7264, 66.2355)
Luminance0.3673 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8CD3 #90D38C
analogous
#AC8CD3 #CF8CD3 #D38CB4
triadic
#CF8CD3 #D3CF8C #8CD3CF
tetradic
#CF8CD3 #D3AC8C #90D38C #8CB4D3
square
#CF8CD3 #D3AC8C #90D38C #8CB4D3
split-complementary
#CF8CD3 #B4D38C #8CD3AC
monochromatic
#A03FA5 #BD60C2 #CF8CD3 #E1B8E4 #F4E5F5

Accessibility & contrast

On white

2.52
#CF8CD3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#CF8CD3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8CD3
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8CD3#FFFFFF#000000##000000
##CF8CD31.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#869ED6
Deuteranopia (green-blind)
#96A6D1
Tritanopia (blue-blind)
#D293A6
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cf8cd3;
/* rgb */ color: rgb(207, 140, 211);
/* oklch */ color: oklch(73.1% 0.124 324.8);
Tailwind
colors: {
  custom: {
    50: '#deaee0',
    500: '#cf8cd3',
    950: '#000000',
  },
}
SCSS
$custom: #cf8cd3;
$custom-light: #deaee0;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8cd3",
  "rgb": {
    "r": 207,
    "g": 140,
    "b": 211
  },
  "hsl": {
    "h": 296.62,
    "s": 44.654,
    "l": 68.824
  },
  "oklch": {
    "l": 0.73088,
    "c": 0.12384,
    "h": 324.8
  },
  "luminance": 0.36725
}

Semantic roles & 50–950 ramp

primary
#CF8CD3
secondary
#D4E8D3
accent
#B82E35
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #CF8CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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