#CD8CD8#CD8CD8

#CD8CD8 is a light, vivid purple. Relative luminance 0.367; OKLCH L 73.1% C 0.128 H 321.6°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#CD8CD8
RGBrgb(205, 140, 216)
HSLhsl(291, 49%, 70%)
HSVhsv(291, 35%, 85%)
CMYKcmyk(5.1%, 35.2%, 0%, 15.3%)
CIE-LABlab(67.05, 37.28, -29.07)
CIE-LCHlch(67.05, 47.27, 322.06°)
OKLaboklab(73.08% 0.1001 -0.0794)
OKLCHoklch(73.08% 0.128 321.6)
XYZxyz(46.9481, 36.6947, 69.5621)
Luminance0.3669 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8CD8 #97D88C
analogous
#A78CD8 #CD8CD8 #D88CBD
triadic
#CD8CD8 #D8CD8C #8CD8CD
tetradic
#CD8CD8 #D8A78C #97D88C #8CBDD8
square
#CD8CD8 #D8A78C #97D88C #8CBDD8
split-complementary
#CD8CD8 #BDD88C #8CD8A7
monochromatic
#9E3BAE #B95EC9 #CD8CD8 #E1BAE7 #F5E7F7

Accessibility & contrast

On white

2.52
#CD8CD8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#CD8CD8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8CD8
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8CD8#FFFFFF#000000##000000
##CD8CD81.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#839EDB
Deuteranopia (green-blind)
#93A6D6
Tritanopia (blue-blind)
#CF94A8
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cd8cd8;
/* rgb */ color: rgb(205, 140, 216);
/* oklch */ color: oklch(73.1% 0.128 321.6);
Tailwind
colors: {
  custom: {
    50: '#ddaee4',
    500: '#cd8cd8',
    950: '#000000',
  },
}
SCSS
$custom: #cd8cd8;
$custom-light: #ddaee4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8cd8",
  "rgb": {
    "r": 205,
    "g": 140,
    "b": 216
  },
  "hsl": {
    "h": 291.316,
    "s": 49.351,
    "l": 69.804
  },
  "oklch": {
    "l": 0.73085,
    "c": 0.1278,
    "h": 321.6
  },
  "luminance": 0.36693
}

Semantic roles & 50–950 ramp

primary
#CD8CD8
secondary
#D8EBD5
accent
#BD293E
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #CD8CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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