#CD30CF#CD30CF

#CD30CF is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 61.4% C 0.251 H 327.5°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#CD30CF
RGBrgb(205, 48, 207)
HSLhsl(299, 62%, 50%)
HSVhsv(299, 77%, 81%)
CMYKcmyk(1%, 76.8%, 0%, 18.8%)
CIE-LABlab(51.38, 76.26, -48.54)
CIE-LCHlch(51.38, 90.40, 327.52°)
OKLaboklab(61.42% 0.2119 -0.1348)
OKLCHoklch(61.42% 0.251 327.5)
XYZxyz(37.4957, 19.6008, 60.8278)
Luminance0.1960 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD30CF #32CF30
analogous
#7D30CF #CD30CF #CF3082
triadic
#CD30CF #CFCD30 #30CFCD
tetradic
#CD30CF #CF7D30 #32CF30 #3082CF
square
#CD30CF #CF7D30 #32CF30 #3082CF
split-complementary
#CD30CF #82CF30 #30CF7D
monochromatic
#6B196C #9C249D #CD30CF #D962DB #E593E6

Accessibility & contrast

On white

4.27
#CD30CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#CD30CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD30CF
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD30CF#FFFFFF#000000##000000
##CD30CF1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#006ED3
Deuteranopia (green-blind)
#5C81CB
Tritanopia (blue-blind)
#D34C7F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cd30cf;
/* rgb */ color: rgb(205, 48, 207);
/* oklch */ color: oklch(61.4% 0.251 327.5);
Tailwind
colors: {
  custom: {
    50: '#e17bde',
    500: '#cd30cf',
    950: '#000000',
  },
}
SCSS
$custom: #cd30cf;
$custom-light: #e17bde;
$custom-dark: #000000;
JSON
{
  "hex": "#cd30cf",
  "rgb": {
    "r": 205,
    "g": 48,
    "b": 207
  },
  "hsl": {
    "h": 299.245,
    "s": 62.353,
    "l": 50
  },
  "oklch": {
    "l": 0.61423,
    "c": 0.25116,
    "h": 327.5
  },
  "luminance": 0.19598
}

Semantic roles & 50–950 ramp

primary
#CD30CF
secondary
#8BD18A
accent
#E54244
background
#FEF8FD
surface
#FDEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #CD30CF

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

Preview Lab → · Contrast checker → · Palette generator →

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