#C627BA#C627BA

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

Color values

HEX#C627BA
RGBrgb(198, 39, 186)
HSLhsl(305, 67%, 46%)
HSVhsv(305, 80%, 78%)
CMYKcmyk(0%, 80.3%, 6.1%, 22.4%)
CIE-LABlab(48.27, 73.98, -41.41)
CIE-LCHlch(48.27, 84.78, 330.76°)
OKLaboklab(58.61% 0.2119 -0.1142)
OKLCHoklch(58.61% 0.241 331.7)
XYZxyz(32.8772, 17.0048, 47.9955)
Luminance0.1700 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C627BA #27C633
analogous
#8327C6 #C627BA #C6276B
triadic
#C627BA #BAC627 #27BAC6
tetradic
#C627BA #C68327 #27C633 #276BC6
square
#C627BA #C68327 #27C633 #276BC6
split-complementary
#C627BA #6BC627 #27C683
monochromatic
#60135A #931D8A #C627BA #DC4ED1 #E681DF

Accessibility & contrast

On white

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

On black

4.40
#C627BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C627BA#FFFFFF#000000##FFFFFF
##C627BA1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1465BE
Deuteranopia (green-blind)
#5E7AB6
Tritanopia (blue-blind)
#CE3D71
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c627ba;
/* rgb */ color: rgb(198, 39, 186);
/* oklch */ color: oklch(58.6% 0.241 331.7);
Tailwind
colors: {
  custom: {
    50: '#dc76cf',
    500: '#c627ba',
    950: '#000000',
  },
}
SCSS
$custom: #c627ba;
$custom-light: #dc76cf;
$custom-dark: #000000;
JSON
{
  "hex": "#c627ba",
  "rgb": {
    "r": 198,
    "g": 39,
    "b": 186
  },
  "hsl": {
    "h": 304.528,
    "s": 67.089,
    "l": 46.471
  },
  "oklch": {
    "l": 0.58612,
    "c": 0.24072,
    "h": 331.7
  },
  "luminance": 0.17002
}

Semantic roles & 50–950 ramp

primary
#C627BA
secondary
#7ACF80
accent
#EA4B3E
background
#FEF7FC
surface
#FCEEF9
border
#D5C9D2
text
#160A14
muted
#847C82

Preview Lab

Preview with #C627BA

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

Preview Lab → · Contrast checker → · Palette generator →

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