#CD30B9#CD30B9

#CD30B9 is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 60.2% C 0.236 H 334.0°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#CD30B9
RGBrgb(205, 48, 185)
HSLhsl(308, 62%, 50%)
HSVhsv(308, 77%, 80%)
CMYKcmyk(0%, 76.6%, 9.8%, 19.6%)
CIE-LABlab(50.21, 72.94, -37.67)
CIE-LCHlch(50.21, 82.10, 332.69°)
OKLaboklab(60.21% 0.2118 -0.1033)
OKLCHoklch(60.21% 0.236 334)
XYZxyz(34.9911, 18.5989, 47.6366)
Luminance0.1860 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD30B9 #30CD44
analogous
#9230CD #CD30B9 #CD306B
triadic
#CD30B9 #B9CD30 #30B9CD
tetradic
#CD30B9 #CD9230 #30CD44 #306BCD
square
#CD30B9 #CD9230 #30CD44 #306BCD
split-complementary
#CD30B9 #6BCD30 #30CD92
monochromatic
#6A195F #9B248C #CD30B9 #DA60CA #E592DB

Accessibility & contrast

On white

4.45
#CD30B9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#CD30B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD30B9
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD30B9#FFFFFF#000000##000000
##CD30B91.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C69BD
Deuteranopia (green-blind)
#687FB5
Tritanopia (blue-blind)
#D74073
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cd30b9;
/* rgb */ color: rgb(205, 48, 185);
/* oklch */ color: oklch(60.2% 0.236 334.0);
Tailwind
colors: {
  custom: {
    50: '#e07ace',
    500: '#cd30b9',
    950: '#000000',
  },
}
SCSS
$custom: #cd30b9;
$custom-light: #e07ace;
$custom-dark: #000000;
JSON
{
  "hex": "#cd30b9",
  "rgb": {
    "r": 205,
    "g": 48,
    "b": 185
  },
  "hsl": {
    "h": 307.643,
    "s": 62.055,
    "l": 49.608
  },
  "oklch": {
    "l": 0.60212,
    "c": 0.23566,
    "h": 334
  },
  "luminance": 0.18596
}

Semantic roles & 50–950 ramp

primary
#CD30B9
secondary
#89D092
accent
#E55743
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160A14
muted
#847C82

Preview Lab

Preview with #CD30B9

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

Preview Lab → · Contrast checker → · Palette generator →

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