#CD91D7#CD91D7

#CD91D7 is a light, moderate purple. Relative luminance 0.381; OKLCH L 73.9% C 0.118 H 321.6°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#CD91D7
RGBrgb(205, 145, 215)
HSLhsl(291, 47%, 71%)
HSVhsv(291, 33%, 84%)
CMYKcmyk(4.7%, 32.6%, 0%, 15.7%)
CIE-LABlab(68.12, 34.38, -26.86)
CIE-LCHlch(68.12, 43.63, 322.00°)
OKLaboklab(73.89% 0.0925 -0.0732)
OKLCHoklch(73.89% 0.118 321.6)
XYZxyz(47.5665, 38.1376, 69.1324)
Luminance0.3814 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD91D7 #9BD791
analogous
#AA91D7 #CD91D7 #D791BE
triadic
#CD91D7 #D7CD91 #91D7CD
tetradic
#CD91D7 #D7AA91 #9BD791 #91BED7
square
#CD91D7 #D7AA91 #9BD791 #91BED7
split-complementary
#CD91D7 #BED791 #91D7AA
monochromatic
#9E3FAE #B964C7 #CD91D7 #E1BEE7 #F5E9F7

Accessibility & contrast

On white

2.43
#CD91D7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#CD91D7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD91D7
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD91D7#FFFFFF#000000##000000
##CD91D71.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A2DA
Deuteranopia (green-blind)
#98A8D5
Tritanopia (blue-blind)
#CF98AB
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cd91d7;
/* rgb */ color: rgb(205, 145, 215);
/* oklch */ color: oklch(73.9% 0.118 321.6);
Tailwind
colors: {
  custom: {
    50: '#ddb2e3',
    500: '#cd91d7',
    950: '#000000',
  },
}
SCSS
$custom: #cd91d7;
$custom-light: #ddb2e3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd91d7",
  "rgb": {
    "r": 205,
    "g": 145,
    "b": 215
  },
  "hsl": {
    "h": 291.429,
    "s": 46.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.73886,
    "c": 0.11794,
    "h": 321.6
  },
  "luminance": 0.38136
}

Semantic roles & 50–950 ramp

primary
#CD91D7
secondary
#DBEBD8
accent
#BA2C40
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CD91D7

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

Preview Lab → · Contrast checker → · Palette generator →

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