#CD91D2#CD91D2

#CD91D2 is a light, moderate purple. Relative luminance 0.379; OKLCH L 73.7% C 0.113 H 324.0°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#CD91D2
RGBrgb(205, 145, 210)
HSLhsl(295, 42%, 70%)
HSVhsv(295, 31%, 82%)
CMYKcmyk(2.4%, 31%, 0%, 17.6%)
CIE-LABlab(67.94, 33.41, -24.37)
CIE-LCHlch(67.94, 41.36, 323.89°)
OKLaboklab(73.68% 0.0911 -0.0662)
OKLCHoklch(73.68% 0.113 324)
XYZxyz(46.9338, 37.8846, 65.8004)
Luminance0.3788 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD91D2 #96D291
analogous
#AD91D2 #CD91D2 #D291B6
triadic
#CD91D2 #D2CD91 #91D2CD
tetradic
#CD91D2 #D2AD91 #96D291 #91B6D2
square
#CD91D2 #D2AD91 #96D291 #91B6D2
split-complementary
#CD91D2 #B6D291 #91D2AD
monochromatic
#9E44A5 #B966C0 #CD91D2 #E1BCE4 #F4E8F6

Accessibility & contrast

On white

2.45
#CD91D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#CD91D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD91D2
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD91D2#FFFFFF#000000##000000
##CD91D21.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BA1D5
Deuteranopia (green-blind)
#9AA8D0
Tritanopia (blue-blind)
#D097A9
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cd91d2;
/* rgb */ color: rgb(205, 145, 210);
/* oklch */ color: oklch(73.7% 0.113 324.0);
Tailwind
colors: {
  custom: {
    50: '#ddb2e0',
    500: '#cd91d2',
    950: '#000000',
  },
}
SCSS
$custom: #cd91d2;
$custom-light: #ddb2e0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd91d2",
  "rgb": {
    "r": 205,
    "g": 145,
    "b": 210
  },
  "hsl": {
    "h": 295.385,
    "s": 41.935,
    "l": 69.608
  },
  "oklch": {
    "l": 0.73683,
    "c": 0.11265,
    "h": 324
  },
  "luminance": 0.37883
}

Semantic roles & 50–950 ramp

primary
#CD91D2
secondary
#D8E9D6
accent
#B5303B
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #CD91D2

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

Preview Lab → · Contrast checker → · Palette generator →

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