#CF8CED#CF8CED

#CF8CED is a light, vivid purple. Relative luminance 0.381; OKLCH L 74.2% C 0.152 H 314.8°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#CF8CED
RGBrgb(207, 140, 237)
HSLhsl(281, 73%, 74%)
HSVhsv(281, 41%, 93%)
CMYKcmyk(12.7%, 40.9%, 0%, 7.1%)
CIE-LABlab(68.12, 42.09, -38.98)
CIE-LCHlch(68.12, 57.37, 317.20°)
OKLaboklab(74.23% 0.107 -0.1077)
OKLCHoklch(74.23% 0.152 314.8)
XYZxyz(50.3939, 38.1372, 84.8109)
Luminance0.3814 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8CED #AAED8C
analogous
#9F8CED #CF8CED #ED8CDB
triadic
#CF8CED #EDCF8C #8CEDCF
tetradic
#CF8CED #ED9F8C #AAED8C #8CDBED
square
#CF8CED #ED9F8C #AAED8C #8CDBED
split-complementary
#CF8CED #DBED8C #8CED9F
monochromatic
#A322DC #B957E5 #CF8CED #E5C1F5 #F4E5FB

Accessibility & contrast

On white

2.43
#CF8CED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#CF8CED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8CED
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8CED#FFFFFF#000000##000000
##CF8CED1.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA2F1
Deuteranopia (green-blind)
#8CA8EA
Tritanopia (blue-blind)
#CD99B1
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cf8ced;
/* rgb */ color: rgb(207, 140, 237);
/* oklch */ color: oklch(74.2% 0.152 314.8);
Tailwind
colors: {
  custom: {
    50: '#dfaff3',
    500: '#cf8ced',
    950: '#000000',
  },
}
SCSS
$custom: #cf8ced;
$custom-light: #dfaff3;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8ced",
  "rgb": {
    "r": 207,
    "g": 140,
    "b": 237
  },
  "hsl": {
    "h": 281.443,
    "s": 72.932,
    "l": 73.922
  },
  "oklch": {
    "l": 0.74226,
    "c": 0.15178,
    "h": 314.8
  },
  "luminance": 0.38136
}

Semantic roles & 50–950 ramp

primary
#CF8CED
secondary
#E1F3D8
accent
#D5104D
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CF8CED

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

Preview Lab → · Contrast checker → · Palette generator →

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