#CD3DB8#CD3DB8

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

Color values

HEX#CD3DB8
RGBrgb(205, 61, 184)
HSLhsl(309, 59%, 52%)
HSVhsv(309, 70%, 80%)
CMYKcmyk(0%, 70.2%, 10.2%, 19.6%)
CIE-LABlab(51.59, 68.75, -34.93)
CIE-LCHlch(51.59, 77.11, 333.07°)
OKLaboklab(61.18% 0.1998 -0.0955)
OKLCHoklch(61.18% 0.221 334.5)
XYZxyz(35.4976, 19.7803, 47.2865)
Luminance0.1978 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD3DB8 #3DCD52
analogous
#9A3DCD #CD3DB8 #CD3D70
triadic
#CD3DB8 #B8CD3D #3DB8CD
tetradic
#CD3DB8 #CD9A3D #3DCD52 #3D70CD
square
#CD3DB8 #CD9A3D #3DCD52 #3D70CD
split-complementary
#CD3DB8 #70CD3D #3DCD9A
monochromatic
#721D66 #A32A91 #CD3DB8 #DA6ECA #E69EDC

Accessibility & contrast

On white

4.24
#CD3DB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#CD3DB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD3DB8
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD3DB8#FFFFFF#000000##000000
##CD3DB81.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B6DBB
Deuteranopia (green-blind)
#6E83B4
Tritanopia (blue-blind)
#D74976
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cd3db8;
/* rgb */ color: rgb(205, 61, 184);
/* oklch */ color: oklch(61.2% 0.221 334.5);
Tailwind
colors: {
  custom: {
    50: '#e07fcd',
    500: '#cd3db8',
    950: '#000000',
  },
}
SCSS
$custom: #cd3db8;
$custom-light: #e07fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd3db8",
  "rgb": {
    "r": 205,
    "g": 61,
    "b": 184
  },
  "hsl": {
    "h": 308.75,
    "s": 59.016,
    "l": 52.157
  },
  "oklch": {
    "l": 0.61184,
    "c": 0.22146,
    "h": 334.5
  },
  "luminance": 0.19777
}

Semantic roles & 50–950 ramp

primary
#CD3DB8
secondary
#93D29D
accent
#E25C46
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CD3DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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