#C631B7#C631B7

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

Color values

HEX#C631B7
RGBrgb(198, 49, 183)
HSLhsl(306, 60%, 48%)
HSVhsv(306, 75%, 78%)
CMYKcmyk(0%, 75.3%, 7.6%, 22.4%)
CIE-LABlab(49.04, 70.86, -38.43)
CIE-LCHlch(49.04, 80.61, 331.52°)
OKLaboklab(59.11% 0.2041 -0.1056)
OKLCHoklch(59.11% 0.23 332.6)
XYZxyz(32.9344, 17.6241, 46.4578)
Luminance0.1762 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C631B7 #31C640
analogous
#8A31C6 #C631B7 #C6316C
triadic
#C631B7 #B7C631 #31B7C6
tetradic
#C631B7 #C68A31 #31C640 #316CC6
square
#C631B7 #C68A31 #31C640 #316CC6
split-complementary
#C631B7 #6CC631 #31C68A
monochromatic
#64195C #95258A #C631B7 #D75DCB #E38EDB

Accessibility & contrast

On white

4.64
#C631B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C631B7
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C631B7#FFFFFF#000000##FFFFFF
##C631B71.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2867BB
Deuteranopia (green-blind)
#637CB3
Tritanopia (blue-blind)
#CF4272
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c631b7;
/* rgb */ color: rgb(198, 49, 183);
/* oklch */ color: oklch(59.1% 0.230 332.6);
Tailwind
colors: {
  custom: {
    50: '#db79cd',
    500: '#c631b7',
    950: '#000000',
  },
}
SCSS
$custom: #c631b7;
$custom-light: #db79cd;
$custom-dark: #000000;
JSON
{
  "hex": "#c631b7",
  "rgb": {
    "r": 198,
    "g": 49,
    "b": 183
  },
  "hsl": {
    "h": 306.04,
    "s": 60.324,
    "l": 48.431
  },
  "oklch": {
    "l": 0.59112,
    "c": 0.22979,
    "h": 332.6
  },
  "luminance": 0.17621
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C631B7

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

Preview Lab → · Contrast checker → · Palette generator →

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