#CD8CDA#CD8CDA

#CD8CDA is a light, vivid purple. Relative luminance 0.368; OKLCH L 73.2% C 0.130 H 320.7°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#CD8CDA
RGBrgb(205, 140, 218)
HSLhsl(290, 51%, 70%)
HSVhsv(290, 36%, 85%)
CMYKcmyk(6%, 35.8%, 0%, 14.5%)
CIE-LABlab(67.13, 37.67, -30.06)
CIE-LCHlch(67.13, 48.19, 321.41°)
OKLaboklab(73.17% 0.1006 -0.0822)
OKLCHoklch(73.17% 0.13 320.7)
XYZxyz(47.2082, 36.7987, 70.9321)
Luminance0.3680 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8CDA #99DA8C
analogous
#A68CDA #CD8CDA #DA8CC0
triadic
#CD8CDA #DACD8C #8CDACD
tetradic
#CD8CDA #DAA68C #99DA8C #8CC0DA
square
#CD8CDA #DAA68C #99DA8C #8CC0DA
split-complementary
#CD8CDA #C0DA8C #8CDAA6
monochromatic
#9E39B2 #B95ECB #CD8CDA #E1BAE9 #F5E8F8

Accessibility & contrast

On white

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

On black

8.36
#CD8CDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8CDA
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8CDA#FFFFFF#000000##000000
##CD8CDA1.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#839FDD
Deuteranopia (green-blind)
#93A6D8
Tritanopia (blue-blind)
#CF95A9
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cd8cda;
/* rgb */ color: rgb(205, 140, 218);
/* oklch */ color: oklch(73.2% 0.130 320.7);
Tailwind
colors: {
  custom: {
    50: '#ddaee5',
    500: '#cd8cda',
    950: '#000000',
  },
}
SCSS
$custom: #cd8cda;
$custom-light: #ddaee5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8cda",
  "rgb": {
    "r": 205,
    "g": 140,
    "b": 218
  },
  "hsl": {
    "h": 290,
    "s": 51.316,
    "l": 70.196
  },
  "oklch": {
    "l": 0.7317,
    "c": 0.12994,
    "h": 320.7
  },
  "luminance": 0.36797
}

Semantic roles & 50–950 ramp

primary
#CD8CDA
secondary
#DAECD6
accent
#BF2740
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CD8CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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