#C631B6#C631B6

#C631B6 is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 59.1% C 0.229 H 333.0°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#C631B6
RGBrgb(198, 49, 182)
HSLhsl(306, 60%, 48%)
HSVhsv(306, 75%, 78%)
CMYKcmyk(0%, 75.3%, 8.1%, 22.4%)
CIE-LABlab(48.99, 70.71, -37.93)
CIE-LCHlch(48.99, 80.24, 331.79°)
OKLaboklab(59.06% 0.204 -0.1042)
OKLCHoklch(59.06% 0.229 333)
XYZxyz(32.8307, 17.5826, 45.9116)
Luminance0.1758 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C631B6 #31C641
analogous
#8B31C6 #C631B6 #C6316B
triadic
#C631B6 #B6C631 #31B6C6
tetradic
#C631B6 #C68B31 #31C641 #316BC6
square
#C631B6 #C68B31 #31C641 #316BC6
split-complementary
#C631B6 #6BC631 #31C68B
monochromatic
#64195C #952589 #C631B6 #D75DCA #E38EDA

Accessibility & contrast

On white

4.65
#C631B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#C631B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C631B6
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C631B6#FFFFFF#000000##FFFFFF
##C631B61.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2967BA
Deuteranopia (green-blind)
#647CB2
Tritanopia (blue-blind)
#CF4171
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c631b6;
/* rgb */ color: rgb(198, 49, 182);
/* oklch */ color: oklch(59.1% 0.229 333.0);
Tailwind
colors: {
  custom: {
    50: '#db79cc',
    500: '#c631b6',
    950: '#000000',
  },
}
SCSS
$custom: #c631b6;
$custom-light: #db79cc;
$custom-dark: #000000;
JSON
{
  "hex": "#c631b6",
  "rgb": {
    "r": 198,
    "g": 49,
    "b": 182
  },
  "hsl": {
    "h": 306.443,
    "s": 60.324,
    "l": 48.431
  },
  "oklch": {
    "l": 0.59059,
    "c": 0.22909,
    "h": 333
  },
  "luminance": 0.1758
}

Semantic roles & 50–950 ramp

primary
#C631B6
secondary
#85CE8D
accent
#E35544
background
#FEF7FC
surface
#FCEEF9
border
#D5C9D2
text
#150A13
muted
#847C82

Preview Lab

Preview with #C631B6

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

Preview Lab → · Contrast checker → · Palette generator →

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