#CD91DC#CD91DC

#CD91DC is a light, vivid purple. Relative luminance 0.384; OKLCH L 74.1% C 0.123 H 319.4°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#CD91DC
RGBrgb(205, 145, 220)
HSLhsl(288, 52%, 72%)
HSVhsv(288, 34%, 86%)
CMYKcmyk(6.8%, 34.1%, 0%, 13.7%)
CIE-LABlab(68.31, 35.36, -29.33)
CIE-LCHlch(68.31, 45.94, 320.32°)
OKLaboklab(74.1% 0.0937 -0.0802)
OKLCHoklch(74.1% 0.123 319.4)
XYZxyz(48.2188, 38.3985, 72.5679)
Luminance0.3840 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD91DC #A0DC91
analogous
#A891DC #CD91DC #DC91C6
triadic
#CD91DC #DCCD91 #91DCCD
tetradic
#CD91DC #DCA891 #A0DC91 #91C6DC
square
#CD91DC #DCA891 #A0DC91 #91C6DC
split-complementary
#CD91DC #C6DC91 #91DCA8
monochromatic
#9F3BB8 #B863CD #CD91DC #E2BFEB #F4E8F8

Accessibility & contrast

On white

2.42
#CD91DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#CD91DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD91DC
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD91DC#FFFFFF#000000##000000
##CD91DC1.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A2DF
Deuteranopia (green-blind)
#96A9DA
Tritanopia (blue-blind)
#CE9AAD
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cd91dc;
/* rgb */ color: rgb(205, 145, 220);
/* oklch */ color: oklch(74.1% 0.123 319.4);
Tailwind
colors: {
  custom: {
    50: '#ddb2e7',
    500: '#cd91dc',
    950: '#000000',
  },
}
SCSS
$custom: #cd91dc;
$custom-light: #ddb2e7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd91dc",
  "rgb": {
    "r": 205,
    "g": 145,
    "b": 220
  },
  "hsl": {
    "h": 288,
    "s": 51.724,
    "l": 71.569
  },
  "oklch": {
    "l": 0.74095,
    "c": 0.12336,
    "h": 319.4
  },
  "luminance": 0.38397
}

Semantic roles & 50–950 ramp

primary
#CD91DC
secondary
#DFEEDB
accent
#BF2645
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD91DC

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

Preview Lab → · Contrast checker → · Palette generator →

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