#CD8ECF#CD8ECF

#CD8ECF is a light, moderate purple. Relative luminance 0.368; OKLCH L 73.1% C 0.115 H 325.6°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#CD8ECF
RGBrgb(205, 142, 207)
HSLhsl(298, 40%, 68%)
HSVhsv(298, 31%, 81%)
CMYKcmyk(1%, 31.4%, 0%, 18.8%)
CIE-LABlab(67.15, 34.47, -23.91)
CIE-LCHlch(67.15, 41.95, 325.26°)
OKLaboklab(73.05% 0.0949 -0.0649)
OKLCHoklch(73.05% 0.115 325.6)
XYZxyz(46.1112, 36.8317, 63.6997)
Luminance0.3683 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8ECF #90CF8E
analogous
#AC8ECF #CD8ECF #CF8EB0
triadic
#CD8ECF #CFCD8E #8ECFCD
tetradic
#CD8ECF #CFAC8E #90CF8E #8EB0CF
square
#CD8ECF #CFAC8E #90CF8E #8EB0CF
split-complementary
#CD8ECF #B0CF8E #8ECFAC
monochromatic
#9C449F #BA63BD #CD8ECF #E0B9E1 #F3E4F3

Accessibility & contrast

On white

2.51
#CD8ECF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#CD8ECF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8ECF
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8ECF#FFFFFF#000000##000000
##CD8ECF1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#899FD1
Deuteranopia (green-blind)
#98A6CD
Tritanopia (blue-blind)
#D194A6
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cd8ecf;
/* rgb */ color: rgb(205, 142, 207);
/* oklch */ color: oklch(73.1% 0.115 325.6);
Tailwind
colors: {
  custom: {
    50: '#ddb0dd',
    500: '#cd8ecf',
    950: '#000000',
  },
}
SCSS
$custom: #cd8ecf;
$custom-light: #ddb0dd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8ecf",
  "rgb": {
    "r": 205,
    "g": 142,
    "b": 207
  },
  "hsl": {
    "h": 298.154,
    "s": 40.373,
    "l": 68.431
  },
  "oklch": {
    "l": 0.73051,
    "c": 0.11491,
    "h": 325.6
  },
  "luminance": 0.3683
}

Semantic roles & 50–950 ramp

primary
#CD8ECF
secondary
#D3E6D3
accent
#B33236
background
#FDFAFD
surface
#FBF5FB
border
#D4CFD4
text
#151015
muted
#837F83

Preview Lab

Preview with #CD8ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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