#CD8CDB#CD8CDB

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

Color values

HEX#CD8CDB
RGBrgb(205, 140, 219)
HSLhsl(289, 52%, 70%)
HSVhsv(289, 36%, 86%)
CMYKcmyk(6.4%, 36.1%, 0%, 14.1%)
CIE-LABlab(67.17, 37.87, -30.55)
CIE-LCHlch(67.17, 48.65, 321.10°)
OKLaboklab(73.21% 0.1009 -0.0836)
OKLCHoklch(73.21% 0.131 320.3)
XYZxyz(47.3395, 36.8512, 71.6234)
Luminance0.3685 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8CDB #9ADB8C
analogous
#A58CDB #CD8CDB #DB8CC1
triadic
#CD8CDB #DBCD8C #8CDBCD
tetradic
#CD8CDB #DBA58C #9ADB8C #8CC1DB
square
#CD8CDB #DBA58C #9ADB8C #8CC1DB
split-complementary
#CD8CDB #C1DB8C #8CDBA5
monochromatic
#9E38B4 #B95DCC #CD8CDB #E1BBEA #F5E8F8

Accessibility & contrast

On white

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

On black

8.37
#CD8CDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8CDB
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8CDB#FFFFFF#000000##000000
##CD8CDB1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#829FDE
Deuteranopia (green-blind)
#92A6D9
Tritanopia (blue-blind)
#CE95AA
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cd8cdb;
/* rgb */ color: rgb(205, 140, 219);
/* oklch */ color: oklch(73.2% 0.131 320.3);
Tailwind
colors: {
  custom: {
    50: '#ddaee6',
    500: '#cd8cdb',
    950: '#000000',
  },
}
SCSS
$custom: #cd8cdb;
$custom-light: #ddaee6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8cdb",
  "rgb": {
    "r": 205,
    "g": 140,
    "b": 219
  },
  "hsl": {
    "h": 289.367,
    "s": 52.318,
    "l": 70.392
  },
  "oklch": {
    "l": 0.73213,
    "c": 0.13101,
    "h": 320.3
  },
  "luminance": 0.3685
}

Semantic roles & 50–950 ramp

primary
#CD8CDB
secondary
#DAECD7
accent
#C02641
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CD8CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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