#CD3EB8#CD3EB8

#CD3EB8 is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 61.3% C 0.220 H 334.5°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#CD3EB8
RGBrgb(205, 62, 184)
HSLhsl(309, 59%, 52%)
HSVhsv(309, 70%, 80%)
CMYKcmyk(0%, 69.8%, 10.2%, 19.6%)
CIE-LABlab(51.71, 68.40, -34.73)
CIE-LCHlch(51.71, 76.71, 333.08°)
OKLaboklab(61.27% 0.1988 -0.0949)
OKLCHoklch(61.27% 0.22 334.5)
XYZxyz(35.5515, 19.8881, 47.3045)
Luminance0.1988 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD3EB8 #3ECD53
analogous
#9A3ECD #CD3EB8 #CD3E71
triadic
#CD3EB8 #B8CD3E #3EB8CD
tetradic
#CD3EB8 #CD9A3E #3ECD53 #3E71CD
square
#CD3EB8 #CD9A3E #3ECD53 #3E71CD
split-complementary
#CD3EB8 #71CD3E #3ECD9A
monochromatic
#731E66 #A32A92 #CD3EB8 #DA6FCA #E69FDC

Accessibility & contrast

On white

4.22
#CD3EB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#CD3EB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD3EB8
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD3EB8#FFFFFF#000000##000000
##CD3EB81.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C6EBB
Deuteranopia (green-blind)
#6E83B5
Tritanopia (blue-blind)
#D74A76
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cd3eb8;
/* rgb */ color: rgb(205, 62, 184);
/* oklch */ color: oklch(61.3% 0.220 334.5);
Tailwind
colors: {
  custom: {
    50: '#e07fcd',
    500: '#cd3eb8',
    950: '#000000',
  },
}
SCSS
$custom: #cd3eb8;
$custom-light: #e07fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd3eb8",
  "rgb": {
    "r": 205,
    "g": 62,
    "b": 184
  },
  "hsl": {
    "h": 308.811,
    "s": 58.848,
    "l": 52.353
  },
  "oklch": {
    "l": 0.61273,
    "c": 0.22031,
    "h": 334.5
  },
  "luminance": 0.19885
}

Semantic roles & 50–950 ramp

primary
#CD3EB8
secondary
#94D39D
accent
#E25D46
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CD3EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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