#CF8DED#CF8DED

#CF8DED is a light, vivid purple. Relative luminance 0.384; OKLCH L 74.4% C 0.150 H 314.7°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#CF8DED
RGBrgb(207, 141, 237)
HSLhsl(281, 73%, 74%)
HSVhsv(281, 41%, 93%)
CMYKcmyk(12.7%, 40.5%, 0%, 7.1%)
CIE-LABlab(68.34, 41.56, -38.65)
CIE-LCHlch(68.34, 56.75, 317.08°)
OKLaboklab(74.39% 0.1056 -0.1067)
OKLCHoklch(74.39% 0.15 314.7)
XYZxyz(50.5407, 38.4307, 84.8598)
Luminance0.3843 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8DED #ABED8D
analogous
#9F8DED #CF8DED #ED8DDB
triadic
#CF8DED #EDCF8D #8DEDCF
tetradic
#CF8DED #ED9F8D #ABED8D #8DDBED
square
#CF8DED #ED9F8D #ABED8D #8DDBED
split-complementary
#CF8DED #DBED8D #8DED9F
monochromatic
#A223DC #B958E5 #CF8DED #E5C2F5 #F4E5FB

Accessibility & contrast

On white

2.42
#CF8DED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#CF8DED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8DED
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8DED#FFFFFF#000000##000000
##CF8DED1.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA3F1
Deuteranopia (green-blind)
#8DA8EA
Tritanopia (blue-blind)
#CD9AB2
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cf8ded;
/* rgb */ color: rgb(207, 141, 237);
/* oklch */ color: oklch(74.4% 0.150 314.7);
Tailwind
colors: {
  custom: {
    50: '#dfaff3',
    500: '#cf8ded',
    950: '#000000',
  },
}
SCSS
$custom: #cf8ded;
$custom-light: #dfaff3;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8ded",
  "rgb": {
    "r": 207,
    "g": 141,
    "b": 237
  },
  "hsl": {
    "h": 281.25,
    "s": 72.727,
    "l": 74.118
  },
  "oklch": {
    "l": 0.74387,
    "c": 0.1501,
    "h": 314.7
  },
  "luminance": 0.3843
}

Semantic roles & 50–950 ramp

primary
#CF8DED
secondary
#E1F2D9
accent
#D5114E
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151017
muted
#837F85

Preview Lab

Preview with #CF8DED

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

Preview Lab → · Contrast checker → · Palette generator →

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