#CD8BCA#CD8BCA

#CD8BCA is a light, moderate purple. Relative luminance 0.357; OKLCH L 72.3% C 0.115 H 328.2°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#CD8BCA
RGBrgb(205, 139, 202)
HSLhsl(303, 40%, 67%)
HSVhsv(303, 32%, 80%)
CMYKcmyk(0%, 32.2%, 1.5%, 19.6%)
CIE-LABlab(66.30, 35.16, -22.42)
CIE-LCHlch(66.30, 41.71, 327.47°)
OKLaboklab(72.34% 0.098 -0.0607)
OKLCHoklch(72.34% 0.115 328.2)
XYZxyz(45.0693, 35.7104, 60.3844)
Luminance0.3571 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8BCA #8BCD8E
analogous
#AF8BCD #CD8BCA #CD8BA9
triadic
#CD8BCA #CACD8B #8BCACD
tetradic
#CD8BCA #CDAF8B #8BCD8E #8BA9CD
square
#CD8BCA #CDAF8B #8BCD8E #8BA9CD
split-complementary
#CD8BCA #A9CD8B #8BCDAF
monochromatic
#9B4397 #BB60B6 #CD8BCA #DFB6DE #F2E1F1

Accessibility & contrast

On white

2.58
#CD8BCA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#CD8BCA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8BCA
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8BCA#FFFFFF#000000##000000
##CD8BCA1.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#879CCC
Deuteranopia (green-blind)
#98A4C8
Tritanopia (blue-blind)
#D290A2
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #cd8bca;
/* rgb */ color: rgb(205, 139, 202);
/* oklch */ color: oklch(72.3% 0.115 328.2);
Tailwind
colors: {
  custom: {
    50: '#ddaeda',
    500: '#cd8bca',
    950: '#000000',
  },
}
SCSS
$custom: #cd8bca;
$custom-light: #ddaeda;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8bca",
  "rgb": {
    "r": 205,
    "g": 139,
    "b": 202
  },
  "hsl": {
    "h": 302.727,
    "s": 39.759,
    "l": 67.451
  },
  "oklch": {
    "l": 0.72343,
    "c": 0.11529,
    "h": 328.2
  },
  "luminance": 0.35709
}

Semantic roles & 50–950 ramp

primary
#CD8BCA
secondary
#D0E4D1
accent
#B33933
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#151014
muted
#837F83

Preview Lab

Preview with #CD8BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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