#CD8CD3#CD8CD3

#CD8CD3 is a light, vivid purple. Relative luminance 0.364; OKLCH L 72.9% C 0.123 H 323.8°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#CD8CD3
RGBrgb(205, 140, 211)
HSLhsl(295, 45%, 69%)
HSVhsv(295, 34%, 83%)
CMYKcmyk(2.8%, 33.6%, 0%, 17.3%)
CIE-LABlab(66.85, 36.31, -26.59)
CIE-LCHlch(66.85, 45.01, 323.79°)
OKLaboklab(72.88% 0.0989 -0.0724)
OKLCHoklch(72.88% 0.123 323.8)
XYZxyz(46.3115, 36.4400, 66.2095)
Luminance0.3644 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8CD3 #92D38C
analogous
#AA8CD3 #CD8CD3 #D38CB6
triadic
#CD8CD3 #D3CD8C #8CD3CD
tetradic
#CD8CD3 #D3AA8C #92D38C #8CB6D3
square
#CD8CD3 #D3AA8C #92D38C #8CB6D3
split-complementary
#CD8CD3 #B6D38C #8CD3AA
monochromatic
#9D3FA5 #BA60C2 #CD8CD3 #E0B8E4 #F3E5F5

Accessibility & contrast

On white

2.53
#CD8CD3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#CD8CD3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8CD3
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8CD3#FFFFFF#000000##000000
##CD8CD31.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#859ED6
Deuteranopia (green-blind)
#95A5D1
Tritanopia (blue-blind)
#D093A6
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cd8cd3;
/* rgb */ color: rgb(205, 140, 211);
/* oklch */ color: oklch(72.9% 0.123 323.8);
Tailwind
colors: {
  custom: {
    50: '#ddaee0',
    500: '#cd8cd3',
    950: '#000000',
  },
}
SCSS
$custom: #cd8cd3;
$custom-light: #ddaee0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8cd3",
  "rgb": {
    "r": 205,
    "g": 140,
    "b": 211
  },
  "hsl": {
    "h": 294.93,
    "s": 44.654,
    "l": 68.824
  },
  "oklch": {
    "l": 0.72876,
    "c": 0.12256,
    "h": 323.8
  },
  "luminance": 0.36438
}

Semantic roles & 50–950 ramp

primary
#CD8CD3
secondary
#D5E8D3
accent
#B82E39
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #CD8CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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