#CD2CB8#CD2CB8

#CD2CB8 is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.9% C 0.239 H 334.3°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#CD2CB8
RGBrgb(205, 44, 184)
HSLhsl(308, 65%, 49%)
HSVhsv(308, 79%, 80%)
CMYKcmyk(0%, 78.5%, 10.2%, 19.6%)
CIE-LABlab(49.79, 73.87, -37.75)
CIE-LCHlch(49.79, 82.96, 332.93°)
OKLaboklab(59.89% 0.215 -0.1035)
OKLCHoklch(59.89% 0.239 334.3)
XYZxyz(34.7296, 18.2443, 47.0305)
Luminance0.1824 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD2CB8 #2CCD41
analogous
#922CCD #CD2CB8 #CD2C68
triadic
#CD2CB8 #B8CD2C #2CB8CD
tetradic
#CD2CB8 #CD922C #2CCD41 #2C68CD
square
#CD2CB8 #CD922C #2CCD41 #2C68CD
split-complementary
#CD2CB8 #68CD2C #2CCD92
monochromatic
#68165E #9B218B #CD2CB8 #DC5BCB #E78DDB

Accessibility & contrast

On white

4.52
#CD2CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#CD2CB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD2CB8
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD2CB8#FFFFFF#000000##000000
##CD2CB81.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2868BC
Deuteranopia (green-blind)
#677FB4
Tritanopia (blue-blind)
#D73D71
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cd2cb8;
/* rgb */ color: rgb(205, 44, 184);
/* oklch */ color: oklch(59.9% 0.239 334.3);
Tailwind
colors: {
  custom: {
    50: '#e178ce',
    500: '#cd2cb8',
    950: '#000000',
  },
}
SCSS
$custom: #cd2cb8;
$custom-light: #e178ce;
$custom-dark: #000000;
JSON
{
  "hex": "#cd2cb8",
  "rgb": {
    "r": 205,
    "g": 44,
    "b": 184
  },
  "hsl": {
    "h": 307.826,
    "s": 64.659,
    "l": 48.824
  },
  "oklch": {
    "l": 0.59892,
    "c": 0.23856,
    "h": 334.3
  },
  "luminance": 0.18241
}

Semantic roles & 50–950 ramp

primary
#CD2CB8
secondary
#84D18E
accent
#E85640
background
#FEF7FC
surface
#FDEEF9
border
#D5C9D2
text
#160A13
muted
#847C82

Preview Lab

Preview with #CD2CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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