#CD3EB7#CD3EB7

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

Color values

HEX#CD3EB7
RGBrgb(205, 62, 183)
HSLhsl(309, 59%, 52%)
HSVhsv(309, 70%, 80%)
CMYKcmyk(0%, 69.8%, 10.7%, 19.6%)
CIE-LABlab(51.66, 68.25, -34.23)
CIE-LCHlch(51.66, 76.35, 333.37°)
OKLaboklab(61.22% 0.1987 -0.0935)
OKLCHoklch(61.22% 0.22 334.8)
XYZxyz(35.4471, 19.8463, 46.7544)
Luminance0.1984 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD3EB7 #3ECD54
analogous
#9C3ECD #CD3EB7 #CD3E6F
triadic
#CD3EB7 #B7CD3E #3EB7CD
tetradic
#CD3EB7 #CD9C3E #3ECD54 #3E6FCD
square
#CD3EB7 #CD9C3E #3ECD54 #3E6FCD
split-complementary
#CD3EB7 #6FCD3E #3ECD9C
monochromatic
#731E66 #A32A91 #CD3EB7 #DA6FC9 #E69FDB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD3EB7#FFFFFF#000000##000000
##CD3EB71.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)
#3D6EBA
Deuteranopia (green-blind)
#6F83B4
Tritanopia (blue-blind)
#D74976
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cd3eb7;
/* rgb */ color: rgb(205, 62, 183);
/* oklch */ color: oklch(61.2% 0.220 334.8);
Tailwind
colors: {
  custom: {
    50: '#e07fcd',
    500: '#cd3eb7',
    950: '#000000',
  },
}
SCSS
$custom: #cd3eb7;
$custom-light: #e07fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd3eb7",
  "rgb": {
    "r": 205,
    "g": 62,
    "b": 183
  },
  "hsl": {
    "h": 309.231,
    "s": 58.848,
    "l": 52.353
  },
  "oklch": {
    "l": 0.61223,
    "c": 0.2196,
    "h": 334.8
  },
  "luminance": 0.19843
}

Semantic roles & 50–950 ramp

primary
#CD3EB7
secondary
#94D39E
accent
#E25E46
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CD3EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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