#CD91DE#CD91DE

#CD91DE is a light, vivid purple. Relative luminance 0.385; OKLCH L 74.2% C 0.126 H 318.6°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#CD91DE
RGBrgb(205, 145, 222)
HSLhsl(287, 54%, 72%)
HSVhsv(287, 35%, 87%)
CMYKcmyk(7.7%, 34.7%, 0%, 12.9%)
CIE-LABlab(68.39, 35.75, -30.32)
CIE-LCHlch(68.39, 46.88, 319.71°)
OKLaboklab(74.18% 0.0942 -0.083)
OKLCHoklch(74.18% 0.126 318.6)
XYZxyz(48.4853, 38.5051, 73.9712)
Luminance0.3850 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD91DE #A2DE91
analogous
#A791DE #CD91DE #DE91C9
triadic
#CD91DE #DECD91 #91DECD
tetradic
#CD91DE #DEA791 #A2DE91 #91C9DE
square
#CD91DE #DEA791 #A2DE91 #91C9DE
split-complementary
#CD91DE #C9DE91 #91DEA7
monochromatic
#9F38BC #B862D0 #CD91DE #E2C0EC #F4E7F8

Accessibility & contrast

On white

2.41
#CD91DE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#CD91DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD91DE
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD91DE#FFFFFF#000000##000000
##CD91DE1.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A3E1
Deuteranopia (green-blind)
#95A9DC
Tritanopia (blue-blind)
#CE9AAE
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cd91de;
/* rgb */ color: rgb(205, 145, 222);
/* oklch */ color: oklch(74.2% 0.126 318.6);
Tailwind
colors: {
  custom: {
    50: '#ddb2e8',
    500: '#cd91de',
    950: '#000000',
  },
}
SCSS
$custom: #cd91de;
$custom-light: #ddb2e8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd91de",
  "rgb": {
    "r": 205,
    "g": 145,
    "b": 222
  },
  "hsl": {
    "h": 286.753,
    "s": 53.846,
    "l": 71.961
  },
  "oklch": {
    "l": 0.74179,
    "c": 0.12555,
    "h": 318.6
  },
  "luminance": 0.38504
}

Semantic roles & 50–950 ramp

primary
#CD91DE
secondary
#E0EFDC
accent
#C12447
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD91DE

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

Preview Lab → · Contrast checker → · Palette generator →

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