#C628C9#C628C9

#C628C9 is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 59.5% C 0.250 H 327.3°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#C628C9
RGBrgb(198, 40, 201)
HSLhsl(299, 67%, 47%)
HSVhsv(299, 80%, 79%)
CMYKcmyk(1.5%, 80.1%, 0%, 21.2%)
CIE-LABlab(49.18, 76.02, -48.66)
CIE-LCHlch(49.18, 90.26, 327.37°)
OKLaboklab(59.53% 0.2108 -0.1353)
OKLCHoklch(59.53% 0.25 327.3)
XYZxyz(34.5896, 17.7430, 56.8499)
Luminance0.1774 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C628C9 #2BC928
analogous
#7628C9 #C628C9 #C9287C
triadic
#C628C9 #C9C628 #28C9C6
tetradic
#C628C9 #C97628 #2BC928 #287CC9
square
#C628C9 #C97628 #2BC928 #287CC9
split-complementary
#C628C9 #7CC928 #28C976
monochromatic
#611463 #941E96 #C628C9 #DA52DD #E585E7

Accessibility & contrast

On white

4.62
#C628C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#C628C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C628C9
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C628C9#FFFFFF#000000##FFFFFF
##C628C91.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CD
Deuteranopia (green-blind)
#567CC5
Tritanopia (blue-blind)
#CC467A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c628c9;
/* rgb */ color: rgb(198, 40, 201);
/* oklch */ color: oklch(59.5% 0.250 327.3);
Tailwind
colors: {
  custom: {
    50: '#dc77da',
    500: '#c628c9',
    950: '#000000',
  },
}
SCSS
$custom: #c628c9;
$custom-light: #dc77da;
$custom-dark: #000000;
JSON
{
  "hex": "#c628c9",
  "rgb": {
    "r": 198,
    "g": 40,
    "b": 201
  },
  "hsl": {
    "h": 298.882,
    "s": 66.805,
    "l": 47.255
  },
  "oklch": {
    "l": 0.59532,
    "c": 0.25046,
    "h": 327.3
  },
  "luminance": 0.1774
}

Semantic roles & 50–950 ramp

primary
#C628C9
secondary
#7FD07D
accent
#EA3E41
background
#FEF7FD
surface
#FCEEFB
border
#D5C9D4
text
#160A15
muted
#847C83

Preview Lab

Preview with #C628C9

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

Preview Lab → · Contrast checker → · Palette generator →

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