#CD91D9#CD91D9

#CD91D9 is a light, vivid purple. Relative luminance 0.382; OKLCH L 74.0% C 0.120 H 320.7°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#CD91D9
RGBrgb(205, 145, 217)
HSLhsl(290, 49%, 71%)
HSVhsv(290, 33%, 85%)
CMYKcmyk(5.5%, 33.2%, 0%, 14.9%)
CIE-LABlab(68.20, 34.77, -27.85)
CIE-LCHlch(68.20, 44.55, 321.30°)
OKLaboklab(73.97% 0.093 -0.076)
OKLCHoklch(73.97% 0.12 320.7)
XYZxyz(47.8251, 38.2411, 70.4942)
Luminance0.3824 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD91D9 #9DD991
analogous
#A991D9 #CD91D9 #D991C1
triadic
#CD91D9 #D9CD91 #91D9CD
tetradic
#CD91D9 #D9A991 #9DD991 #91C1D9
square
#CD91D9 #D9A991 #9DD991 #91C1D9
split-complementary
#CD91D9 #C1D991 #91D9A9
monochromatic
#9F3EB2 #B864C9 #CD91D9 #E2BEE9 #F5E8F7

Accessibility & contrast

On white

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

On black

8.65
#CD91D9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD91D9
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD91D9#FFFFFF#000000##000000
##CD91D91.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A2DC
Deuteranopia (green-blind)
#97A9D7
Tritanopia (blue-blind)
#CF99AB
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cd91d9;
/* rgb */ color: rgb(205, 145, 217);
/* oklch */ color: oklch(74.0% 0.120 320.7);
Tailwind
colors: {
  custom: {
    50: '#ddb2e5',
    500: '#cd91d9',
    950: '#000000',
  },
}
SCSS
$custom: #cd91d9;
$custom-light: #ddb2e5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd91d9",
  "rgb": {
    "r": 205,
    "g": 145,
    "b": 217
  },
  "hsl": {
    "h": 290,
    "s": 48.649,
    "l": 70.98
  },
  "oklch": {
    "l": 0.73969,
    "c": 0.12009,
    "h": 320.7
  },
  "luminance": 0.3824
}

Semantic roles & 50–950 ramp

primary
#CD91D9
secondary
#DDECD9
accent
#BC2A42
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151115
muted
#838084

Preview Lab

Preview with #CD91D9

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

Preview Lab → · Contrast checker → · Palette generator →

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