#C628BD#C628BD

#C628BD is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.8% C 0.242 H 330.8°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#C628BD
RGBrgb(198, 40, 189)
HSLhsl(303, 66%, 47%)
HSVhsv(303, 80%, 78%)
CMYKcmyk(0%, 79.8%, 4.5%, 22.4%)
CIE-LABlab(48.51, 74.18, -42.77)
CIE-LCHlch(48.51, 85.63, 330.03°)
OKLaboklab(58.84% 0.2112 -0.1181)
OKLCHoklch(58.84% 0.242 330.8)
XYZxyz(33.2328, 17.2002, 49.7039)
Luminance0.1720 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C628BD #28C631
analogous
#8028C6 #C628BD #C6286E
triadic
#C628BD #BDC628 #28BDC6
tetradic
#C628BD #C68028 #28C631 #286EC6
square
#C628BD #C68028 #28C631 #286EC6
split-complementary
#C628BD #6EC628 #28C680
monochromatic
#60135C #931E8C #C628BD #DC50D4 #E683E0

Accessibility & contrast

On white

4.73
#C628BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#C628BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C628BD
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C628BD#FFFFFF#000000##FFFFFF
##C628BD1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D66C1
Deuteranopia (green-blind)
#5D7BB9
Tritanopia (blue-blind)
#CE4073
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c628bd;
/* rgb */ color: rgb(198, 40, 189);
/* oklch */ color: oklch(58.8% 0.242 330.8);
Tailwind
colors: {
  custom: {
    50: '#dc76d1',
    500: '#c628bd',
    950: '#000000',
  },
}
SCSS
$custom: #c628bd;
$custom-light: #dc76d1;
$custom-dark: #000000;
JSON
{
  "hex": "#c628bd",
  "rgb": {
    "r": 198,
    "g": 40,
    "b": 189
  },
  "hsl": {
    "h": 303.418,
    "s": 66.387,
    "l": 46.667
  },
  "oklch": {
    "l": 0.58839,
    "c": 0.24199,
    "h": 330.8
  },
  "luminance": 0.17197
}

Semantic roles & 50–950 ramp

primary
#C628BD
secondary
#7BCF80
accent
#E9483E
background
#FEF7FC
surface
#FCEEF9
border
#D5C9D2
text
#160A14
muted
#847C82

Preview Lab

Preview with #C628BD

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

Preview Lab → · Contrast checker → · Palette generator →

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