#CD2CB5#CD2CB5

#CD2CB5 is a mid, highly saturated purple. Relative luminance 0.181; OKLCH L 59.7% C 0.237 H 335.2°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#CD2CB5
RGBrgb(205, 44, 181)
HSLhsl(309, 65%, 49%)
HSVhsv(309, 79%, 80%)
CMYKcmyk(0%, 78.5%, 11.7%, 19.6%)
CIE-LABlab(49.64, 73.45, -36.23)
CIE-LCHlch(49.64, 81.90, 333.74°)
OKLaboklab(59.74% 0.2148 -0.0991)
OKLCHoklch(59.74% 0.237 335.2)
XYZxyz(34.4185, 18.1199, 45.3919)
Luminance0.1812 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD2CB5 #2CCD44
analogous
#952CCD #CD2CB5 #CD2C65
triadic
#CD2CB5 #B5CD2C #2CB5CD
tetradic
#CD2CB5 #CD952C #2CCD44 #2C65CD
square
#CD2CB5 #CD952C #2CCD44 #2C65CD
split-complementary
#CD2CB5 #65CD2C #2CCD95
monochromatic
#68165C #9B2189 #CD2CB5 #DC5BC8 #E78DD9

Accessibility & contrast

On white

4.54
#CD2CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#CD2CB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD2CB5
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD2CB5#FFFFFF#000000##000000
##CD2CB51.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C67B9
Deuteranopia (green-blind)
#697EB1
Tritanopia (blue-blind)
#D73B70
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cd2cb5;
/* rgb */ color: rgb(205, 44, 181);
/* oklch */ color: oklch(59.7% 0.237 335.2);
Tailwind
colors: {
  custom: {
    50: '#e178cb',
    500: '#cd2cb5',
    950: '#000000',
  },
}
SCSS
$custom: #cd2cb5;
$custom-light: #e178cb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd2cb5",
  "rgb": {
    "r": 205,
    "g": 44,
    "b": 181
  },
  "hsl": {
    "h": 308.944,
    "s": 64.659,
    "l": 48.824
  },
  "oklch": {
    "l": 0.59736,
    "c": 0.23656,
    "h": 335.2
  },
  "luminance": 0.18117
}

Semantic roles & 50–950 ramp

primary
#CD2CB5
secondary
#84D190
accent
#E85940
background
#FEF7FC
surface
#FDEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #CD2CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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