#CD2CB3#CD2CB3

#CD2CB3 is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.6% C 0.235 H 335.9°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#CD2CB3
RGBrgb(205, 44, 179)
HSLhsl(310, 65%, 49%)
HSVhsv(310, 79%, 80%)
CMYKcmyk(0%, 78.5%, 12.7%, 19.6%)
CIE-LABlab(49.54, 73.17, -35.22)
CIE-LCHlch(49.54, 81.20, 334.30°)
OKLaboklab(59.63% 0.2147 -0.0962)
OKLCHoklch(59.63% 0.235 335.9)
XYZxyz(34.2148, 18.0384, 44.3189)
Luminance0.1804 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD2CB3 #2CCD46
analogous
#972CCD #CD2CB3 #CD2C63
triadic
#CD2CB3 #B3CD2C #2CB3CD
tetradic
#CD2CB3 #CD972C #2CCD46 #2C63CD
square
#CD2CB3 #CD972C #2CCD46 #2C63CD
split-complementary
#CD2CB3 #63CD2C #2CCD97
monochromatic
#68165B #9B2187 #CD2CB3 #DC5BC7 #E78DD8

Accessibility & contrast

On white

4.56
#CD2CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#CD2CB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD2CB3
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD2CB3#FFFFFF#000000##000000
##CD2CB31.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E67B6
Deuteranopia (green-blind)
#6A7EAF
Tritanopia (blue-blind)
#D83A6E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cd2cb3;
/* rgb */ color: rgb(205, 44, 179);
/* oklch */ color: oklch(59.6% 0.235 335.9);
Tailwind
colors: {
  custom: {
    50: '#e178ca',
    500: '#cd2cb3',
    950: '#000000',
  },
}
SCSS
$custom: #cd2cb3;
$custom-light: #e178ca;
$custom-dark: #000000;
JSON
{
  "hex": "#cd2cb3",
  "rgb": {
    "r": 205,
    "g": 44,
    "b": 179
  },
  "hsl": {
    "h": 309.689,
    "s": 64.659,
    "l": 48.824
  },
  "oklch": {
    "l": 0.59633,
    "c": 0.23524,
    "h": 335.9
  },
  "luminance": 0.18035
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD2CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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