#CD2EB7#CD2EB7

#CD2EB7 is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 60.0% C 0.236 H 334.6°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#CD2EB7
RGBrgb(205, 46, 183)
HSLhsl(308, 63%, 49%)
HSVhsv(308, 78%, 80%)
CMYKcmyk(0%, 77.6%, 10.7%, 19.6%)
CIE-LABlab(49.92, 73.20, -36.96)
CIE-LCHlch(49.92, 82.00, 333.21°)
OKLaboklab(59.97% 0.2133 -0.1012)
OKLCHoklch(59.97% 0.236 334.6)
XYZxyz(34.7015, 18.3552, 46.5059)
Luminance0.1835 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD2EB7 #2ECD44
analogous
#942ECD #CD2EB7 #CD2E68
triadic
#CD2EB7 #B7CD2E #2EB7CD
tetradic
#CD2EB7 #CD942E #2ECD44 #2E68CD
square
#CD2EB7 #CD942E #2ECD44 #2E68CD
split-complementary
#CD2EB7 #68CD2E #2ECD94
monochromatic
#69185E #9B238A #CD2EB7 #DB5DC9 #E68FDA

Accessibility & contrast

On white

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

On black

4.67
#CD2EB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD2EB7
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD2EB7#FFFFFF#000000##000000
##CD2EB71.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C68BB
Deuteranopia (green-blind)
#687FB3
Tritanopia (blue-blind)
#D73E71
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cd2eb7;
/* rgb */ color: rgb(205, 46, 183);
/* oklch */ color: oklch(60.0% 0.236 334.6);
Tailwind
colors: {
  custom: {
    50: '#e179cd',
    500: '#cd2eb7',
    950: '#000000',
  },
}
SCSS
$custom: #cd2eb7;
$custom-light: #e179cd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd2eb7",
  "rgb": {
    "r": 205,
    "g": 46,
    "b": 183
  },
  "hsl": {
    "h": 308.302,
    "s": 63.347,
    "l": 49.216
  },
  "oklch": {
    "l": 0.59971,
    "c": 0.23613,
    "h": 334.6
  },
  "luminance": 0.18352
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD2EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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