#CD2EB6#CD2EB6

#CD2EB6 is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.9% C 0.235 H 334.9°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#CD2EB6
RGBrgb(205, 46, 182)
HSLhsl(309, 63%, 49%)
HSVhsv(309, 78%, 80%)
CMYKcmyk(0%, 77.6%, 11.2%, 19.6%)
CIE-LABlab(49.87, 73.06, -36.45)
CIE-LCHlch(49.87, 81.65, 333.49°)
OKLaboklab(59.92% 0.2133 -0.0997)
OKLCHoklch(59.92% 0.235 334.9)
XYZxyz(34.5978, 18.3137, 45.9597)
Luminance0.1831 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD2EB6 #2ECD45
analogous
#952ECD #CD2EB6 #CD2E67
triadic
#CD2EB6 #B6CD2E #2EB6CD
tetradic
#CD2EB6 #CD952E #2ECD45 #2E67CD
square
#CD2EB6 #CD952E #2ECD45 #2E67CD
split-complementary
#CD2EB6 #67CD2E #2ECD95
monochromatic
#69185D #9B238A #CD2EB6 #DB5DC9 #E68FD9

Accessibility & contrast

On white

4.50
#CD2EB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#CD2EB6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD2EB6
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD2EB6#FFFFFF#000000##000000
##CD2EB61.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D68BA
Deuteranopia (green-blind)
#697FB2
Tritanopia (blue-blind)
#D73D71
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cd2eb6;
/* rgb */ color: rgb(205, 46, 182);
/* oklch */ color: oklch(59.9% 0.235 334.9);
Tailwind
colors: {
  custom: {
    50: '#e179cc',
    500: '#cd2eb6',
    950: '#000000',
  },
}
SCSS
$custom: #cd2eb6;
$custom-light: #e179cc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd2eb6",
  "rgb": {
    "r": 205,
    "g": 46,
    "b": 182
  },
  "hsl": {
    "h": 308.679,
    "s": 63.347,
    "l": 49.216
  },
  "oklch": {
    "l": 0.59919,
    "c": 0.23546,
    "h": 334.9
  },
  "luminance": 0.18311
}

Semantic roles & 50–950 ramp

primary
#CD2EB6
secondary
#86D091
accent
#E65941
background
#FEF7FC
surface
#FDEEF9
border
#D5C9D2
text
#160A13
muted
#847C82

Preview Lab

Preview with #CD2EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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