#CD2CB7#CD2CB7

#CD2CB7 is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.8% C 0.238 H 334.6°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#CD2CB7
RGBrgb(205, 44, 183)
HSLhsl(308, 65%, 49%)
HSVhsv(308, 79%, 80%)
CMYKcmyk(0%, 78.5%, 10.7%, 19.6%)
CIE-LABlab(49.74, 73.73, -37.25)
CIE-LCHlch(49.74, 82.61, 333.20°)
OKLaboklab(59.84% 0.2149 -0.102)
OKLCHoklch(59.84% 0.238 334.6)
XYZxyz(34.6252, 18.2025, 46.4804)
Luminance0.1820 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD2CB7 #2CCD42
analogous
#932CCD #CD2CB7 #CD2C67
triadic
#CD2CB7 #B7CD2C #2CB7CD
tetradic
#CD2CB7 #CD932C #2CCD42 #2C67CD
square
#CD2CB7 #CD932C #2CCD42 #2C67CD
split-complementary
#CD2CB7 #67CD2C #2CCD93
monochromatic
#68165D #9B218A #CD2CB7 #DC5BCA #E78DDA

Accessibility & contrast

On white

4.53
#CD2CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#CD2CB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD2CB7
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD2CB7#FFFFFF#000000##000000
##CD2CB71.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2967BB
Deuteranopia (green-blind)
#687EB3
Tritanopia (blue-blind)
#D73C71
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cd2cb7;
/* rgb */ color: rgb(205, 44, 183);
/* oklch */ color: oklch(59.8% 0.238 334.6);
Tailwind
colors: {
  custom: {
    50: '#e178cd',
    500: '#cd2cb7',
    950: '#000000',
  },
}
SCSS
$custom: #cd2cb7;
$custom-light: #e178cd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd2cb7",
  "rgb": {
    "r": 205,
    "g": 44,
    "b": 183
  },
  "hsl": {
    "h": 308.199,
    "s": 64.659,
    "l": 48.824
  },
  "oklch": {
    "l": 0.5984,
    "c": 0.23789,
    "h": 334.6
  },
  "luminance": 0.18199
}

Semantic roles & 50–950 ramp

primary
#CD2CB7
secondary
#84D18F
accent
#E85740
background
#FEF7FC
surface
#FDEEF9
border
#D5C9D2
text
#160A13
muted
#847C82

Preview Lab

Preview with #CD2CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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