#C631B8#C631B8

#C631B8 is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 59.2% C 0.231 H 332.3°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#C631B8
RGBrgb(198, 49, 184)
HSLhsl(306, 60%, 48%)
HSVhsv(306, 75%, 78%)
CMYKcmyk(0%, 75.3%, 7.1%, 22.4%)
CIE-LABlab(49.09, 71.01, -38.94)
CIE-LCHlch(49.09, 80.98, 331.26°)
OKLaboklab(59.17% 0.2041 -0.1071)
OKLCHoklch(59.17% 0.231 332.3)
XYZxyz(33.0389, 17.6659, 47.0079)
Luminance0.1766 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C631B8 #31C63F
analogous
#8A31C6 #C631B8 #C6316D
triadic
#C631B8 #B8C631 #31B8C6
tetradic
#C631B8 #C68A31 #31C63F #316DC6
square
#C631B8 #C68A31 #31C63F #316DC6
split-complementary
#C631B8 #6DC631 #31C68A
monochromatic
#64195D #95258A #C631B8 #D75DCC #E38EDB

Accessibility & contrast

On white

4.63
#C631B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#C631B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C631B8
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C631B8#FFFFFF#000000##FFFFFF
##C631B81.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2767BC
Deuteranopia (green-blind)
#637CB4
Tritanopia (blue-blind)
#CF4272
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c631b8;
/* rgb */ color: rgb(198, 49, 184);
/* oklch */ color: oklch(59.2% 0.231 332.3);
Tailwind
colors: {
  custom: {
    50: '#db79ce',
    500: '#c631b8',
    950: '#000000',
  },
}
SCSS
$custom: #c631b8;
$custom-light: #db79ce;
$custom-dark: #000000;
JSON
{
  "hex": "#c631b8",
  "rgb": {
    "r": 198,
    "g": 49,
    "b": 184
  },
  "hsl": {
    "h": 305.638,
    "s": 60.324,
    "l": 48.431
  },
  "oklch": {
    "l": 0.59166,
    "c": 0.2305,
    "h": 332.3
  },
  "luminance": 0.17663
}

Semantic roles & 50–950 ramp

primary
#C631B8
secondary
#85CE8C
accent
#E35344
background
#FEF7FC
surface
#FCEEF9
border
#D5C9D2
text
#150A13
muted
#847C82

Preview Lab

Preview with #C631B8

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

Preview Lab → · Contrast checker → · Palette generator →

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