#CD28C3#CD28C3

#CD28C3 is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 60.2% C 0.249 H 331.0°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#CD28C3
RGBrgb(205, 40, 195)
HSLhsl(304, 67%, 48%)
HSVhsv(304, 80%, 80%)
CMYKcmyk(0%, 80.5%, 4.9%, 19.6%)
CIE-LABlab(50.03, 76.45, -43.78)
CIE-LCHlch(50.03, 88.10, 330.20°)
OKLaboklab(60.24% 0.218 -0.1209)
OKLCHoklch(60.24% 0.249 331)
XYZxyz(35.7859, 18.4398, 53.2937)
Luminance0.1844 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD28C3 #28CD32
analogous
#8428CD #CD28C3 #CD2871
triadic
#CD28C3 #C3CD28 #28C3CD
tetradic
#CD28C3 #CD8428 #28CD32 #2871CD
square
#CD28C3 #CD8428 #28CD32 #2871CD
split-complementary
#CD28C3 #71CD28 #28CD84
monochromatic
#671462 #9A1E92 #CD28C3 #DE54D5 #E888E2

Accessibility & contrast

On white

4.48
#CD28C3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#CD28C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD28C3
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD28C3#FFFFFF#000000##000000
##CD28C31.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B69C7
Deuteranopia (green-blind)
#607FBF
Tritanopia (blue-blind)
#D54177
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cd28c3;
/* rgb */ color: rgb(205, 40, 195);
/* oklch */ color: oklch(60.2% 0.249 331.0);
Tailwind
colors: {
  custom: {
    50: '#e177d6',
    500: '#cd28c3',
    950: '#000000',
  },
}
SCSS
$custom: #cd28c3;
$custom-light: #e177d6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd28c3",
  "rgb": {
    "r": 205,
    "g": 40,
    "b": 195
  },
  "hsl": {
    "h": 303.636,
    "s": 67.347,
    "l": 48.039
  },
  "oklch": {
    "l": 0.60244,
    "c": 0.24928,
    "h": 331
  },
  "luminance": 0.18437
}

Semantic roles & 50–950 ramp

primary
#CD28C3
secondary
#80D185
accent
#EA483E
background
#FEF7FD
surface
#FDEEFA
border
#D5C9D3
text
#160A14
muted
#847C83

Preview Lab

Preview with #CD28C3

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

Preview Lab → · Contrast checker → · Palette generator →

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