#CD30BA#CD30BA

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

Color values

HEX#CD30BA
RGBrgb(205, 48, 186)
HSLhsl(307, 62%, 50%)
HSVhsv(307, 77%, 80%)
CMYKcmyk(0%, 76.6%, 9.3%, 19.6%)
CIE-LABlab(50.26, 73.09, -38.17)
CIE-LCHlch(50.26, 82.46, 332.42°)
OKLaboklab(60.26% 0.2119 -0.1047)
OKLCHoklch(60.26% 0.236 333.7)
XYZxyz(35.0970, 18.6413, 48.1945)
Luminance0.1864 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD30BA #30CD43
analogous
#9130CD #CD30BA #CD306C
triadic
#CD30BA #BACD30 #30BACD
tetradic
#CD30BA #CD9130 #30CD43 #306CCD
square
#CD30BA #CD9130 #30CD43 #306CCD
split-complementary
#CD30BA #6CCD30 #30CD91
monochromatic
#6A1960 #9B248D #CD30BA #DA60CB #E592DB

Accessibility & contrast

On white

4.44
#CD30BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#CD30BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD30BA
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD30BA#FFFFFF#000000##000000
##CD30BA1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A69BE
Deuteranopia (green-blind)
#6880B6
Tritanopia (blue-blind)
#D74173
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cd30ba;
/* rgb */ color: rgb(205, 48, 186);
/* oklch */ color: oklch(60.3% 0.236 333.7);
Tailwind
colors: {
  custom: {
    50: '#e07acf',
    500: '#cd30ba',
    950: '#000000',
  },
}
SCSS
$custom: #cd30ba;
$custom-light: #e07acf;
$custom-dark: #000000;
JSON
{
  "hex": "#cd30ba",
  "rgb": {
    "r": 205,
    "g": 48,
    "b": 186
  },
  "hsl": {
    "h": 307.261,
    "s": 62.055,
    "l": 49.608
  },
  "oklch": {
    "l": 0.60264,
    "c": 0.23634,
    "h": 333.7
  },
  "luminance": 0.18638
}

Semantic roles & 50–950 ramp

primary
#CD30BA
secondary
#89D091
accent
#E55643
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160A14
muted
#847C82

Preview Lab

Preview with #CD30BA

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

Preview Lab → · Contrast checker → · Palette generator →

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