#C628B9#C628B9

#C628B9 is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.6% C 0.239 H 332.0°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#C628B9
RGBrgb(198, 40, 185)
HSLhsl(305, 66%, 47%)
HSVhsv(305, 80%, 78%)
CMYKcmyk(0%, 79.8%, 6.6%, 22.4%)
CIE-LABlab(48.30, 73.59, -40.77)
CIE-LCHlch(48.30, 84.13, 331.01°)
OKLaboklab(58.62% 0.2112 -0.1123)
OKLCHoklch(58.62% 0.239 332)
XYZxyz(32.8046, 17.0289, 47.4487)
Luminance0.1703 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C628B9 #28C635
analogous
#8428C6 #C628B9 #C6286A
triadic
#C628B9 #B9C628 #28B9C6
tetradic
#C628B9 #C68428 #28C635 #286AC6
square
#C628B9 #C68428 #28C635 #286AC6
split-complementary
#C628B9 #6AC628 #28C684
monochromatic
#60135A #931E89 #C628B9 #DC50D0 #E683DE

Accessibility & contrast

On white

4.77
#C628B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#C628B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C628B9
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C628B9#FFFFFF#000000##FFFFFF
##C628B91.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1865BD
Deuteranopia (green-blind)
#5F7AB5
Tritanopia (blue-blind)
#CF3D71
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c628b9;
/* rgb */ color: rgb(198, 40, 185);
/* oklch */ color: oklch(58.6% 0.239 332.0);
Tailwind
colors: {
  custom: {
    50: '#dc76ce',
    500: '#c628b9',
    950: '#000000',
  },
}
SCSS
$custom: #c628b9;
$custom-light: #dc76ce;
$custom-dark: #000000;
JSON
{
  "hex": "#c628b9",
  "rgb": {
    "r": 198,
    "g": 40,
    "b": 185
  },
  "hsl": {
    "h": 304.937,
    "s": 66.387,
    "l": 46.667
  },
  "oklch": {
    "l": 0.58617,
    "c": 0.23923,
    "h": 332
  },
  "luminance": 0.17026
}

Semantic roles & 50–950 ramp

primary
#C628B9
secondary
#7BCF82
accent
#E94D3E
background
#FEF7FC
surface
#FCEEF9
border
#D5C9D2
text
#160A14
muted
#847C82

Preview Lab

Preview with #C628B9

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

Preview Lab → · Contrast checker → · Palette generator →

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