#CD8CD4#CD8CD4

#CD8CD4 is a light, vivid purple. Relative luminance 0.365; OKLCH L 72.9% C 0.124 H 323.3°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#CD8CD4
RGBrgb(205, 140, 212)
HSLhsl(294, 46%, 69%)
HSVhsv(294, 34%, 83%)
CMYKcmyk(3.3%, 34%, 0%, 16.9%)
CIE-LABlab(66.89, 36.51, -27.08)
CIE-LCHlch(66.89, 45.46, 323.43°)
OKLaboklab(72.92% 0.0992 -0.0738)
OKLCHoklch(72.92% 0.124 323.3)
XYZxyz(46.4373, 36.4903, 66.8718)
Luminance0.3649 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8CD4 #93D48C
analogous
#A98CD4 #CD8CD4 #D48CB7
triadic
#CD8CD4 #D4CD8C #8CD4CD
tetradic
#CD8CD4 #D4A98C #93D48C #8CB7D4
square
#CD8CD4 #D4A98C #93D48C #8CB7D4
split-complementary
#CD8CD4 #B7D48C #8CD4A9
monochromatic
#9D3EA7 #BA5FC3 #CD8CD4 #E0B9E5 #F4E5F5

Accessibility & contrast

On white

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

On black

8.30
#CD8CD4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8CD4
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8CD4#FFFFFF#000000##000000
##CD8CD41.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#859ED7
Deuteranopia (green-blind)
#95A5D2
Tritanopia (blue-blind)
#D093A7
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cd8cd4;
/* rgb */ color: rgb(205, 140, 212);
/* oklch */ color: oklch(72.9% 0.124 323.3);
Tailwind
colors: {
  custom: {
    50: '#ddaee1',
    500: '#cd8cd4',
    950: '#000000',
  },
}
SCSS
$custom: #cd8cd4;
$custom-light: #ddaee1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8cd4",
  "rgb": {
    "r": 205,
    "g": 140,
    "b": 212
  },
  "hsl": {
    "h": 294.167,
    "s": 45.57,
    "l": 69.02
  },
  "oklch": {
    "l": 0.72917,
    "c": 0.1236,
    "h": 323.3
  },
  "luminance": 0.36489
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD8CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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