#CD8CCF#CD8CCF

#CD8CCF is a light, moderate purple. Relative luminance 0.362; OKLCH L 72.7% C 0.118 H 325.7°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#CD8CCF
RGBrgb(205, 140, 207)
HSLhsl(298, 41%, 68%)
HSVhsv(298, 32%, 81%)
CMYKcmyk(1%, 32.4%, 0%, 18.8%)
CIE-LABlab(66.70, 35.56, -24.59)
CIE-LCHlch(66.70, 43.23, 325.33°)
OKLaboklab(72.71% 0.0979 -0.0668)
OKLCHoklch(72.71% 0.118 325.7)
XYZxyz(45.8163, 36.2419, 63.6014)
Luminance0.3624 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8CCF #8ECF8C
analogous
#AB8CCF #CD8CCF #CF8CAF
triadic
#CD8CCF #CFCD8C #8CCFCD
tetradic
#CD8CCF #CFAB8C #8ECF8C #8CAFCF
square
#CD8CCF #CFAB8C #8ECF8C #8CAFCF
split-complementary
#CD8CCF #AFCF8C #8CCFAB
monochromatic
#9C429E #BA61BD #CD8CCF #E0B7E1 #F3E2F3

Accessibility & contrast

On white

2.55
#CD8CCF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#CD8CCF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8CCF
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8CCF#FFFFFF#000000##000000
##CD8CCF1.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#879DD2
Deuteranopia (green-blind)
#97A5CD
Tritanopia (blue-blind)
#D192A5
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cd8ccf;
/* rgb */ color: rgb(205, 140, 207);
/* oklch */ color: oklch(72.7% 0.118 325.7);
Tailwind
colors: {
  custom: {
    50: '#ddaedd',
    500: '#cd8ccf',
    950: '#000000',
  },
}
SCSS
$custom: #cd8ccf;
$custom-light: #ddaedd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8ccf",
  "rgb": {
    "r": 205,
    "g": 140,
    "b": 207
  },
  "hsl": {
    "h": 298.209,
    "s": 41.104,
    "l": 68.039
  },
  "oklch": {
    "l": 0.72712,
    "c": 0.11847,
    "h": 325.7
  },
  "luminance": 0.3624
}

Semantic roles & 50–950 ramp

primary
#CD8CCF
secondary
#D2E6D1
accent
#B43135
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #CD8CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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