#CD2ED7#CD2ED7

#CD2ED7 is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 61.8% C 0.259 H 325.4°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#CD2ED7
RGBrgb(205, 46, 215)
HSLhsl(296, 68%, 51%)
HSVhsv(296, 79%, 84%)
CMYKcmyk(4.7%, 78.6%, 0%, 15.7%)
CIE-LABlab(51.66, 78.06, -52.68)
CIE-LCHlch(51.66, 94.17, 325.99°)
OKLaboklab(61.77% 0.213 -0.1468)
OKLCHoklch(61.77% 0.259 325.4)
XYZxyz(38.4187, 19.8420, 66.0832)
Luminance0.1984 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD2ED7 #38D72E
analogous
#782ED7 #CD2ED7 #D72E8C
triadic
#CD2ED7 #D7CD2E #2ED7CD
tetradic
#CD2ED7 #D7782E #38D72E #2E8CD7
square
#CD2ED7 #D7782E #38D72E #2E8CD7
split-complementary
#CD2ED7 #8CD72E #2ED778
monochromatic
#6F1674 #A020A8 #CD2ED7 #D961E1 #E695EB

Accessibility & contrast

On white

4.23
#CD2ED7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#CD2ED7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD2ED7
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD2ED7#FFFFFF#000000##000000
##CD2ED71.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#006FDB
Deuteranopia (green-blind)
#5682D3
Tritanopia (blue-blind)
#D24F83
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cd2ed7;
/* rgb */ color: rgb(205, 46, 215);
/* oklch */ color: oklch(61.8% 0.259 325.4);
Tailwind
colors: {
  custom: {
    50: '#e17ae4',
    500: '#cd2ed7',
    950: '#000000',
  },
}
SCSS
$custom: #cd2ed7;
$custom-light: #e17ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd2ed7",
  "rgb": {
    "r": 205,
    "g": 46,
    "b": 215
  },
  "hsl": {
    "h": 296.45,
    "s": 67.871,
    "l": 51.176
  },
  "oklch": {
    "l": 0.61765,
    "c": 0.25868,
    "h": 325.4
  },
  "luminance": 0.19839
}

Semantic roles & 50–950 ramp

primary
#CD2ED7
secondary
#8FD68B
accent
#EB3D47
background
#FEF8FE
surface
#FDEFFC
border
#D5CAD5
text
#160B16
muted
#847C84

Preview Lab

Preview with #CD2ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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