#C631BB#C631BB

#C631BB is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 59.3% C 0.233 H 331.4°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#C631BB
RGBrgb(198, 49, 187)
HSLhsl(304, 60%, 48%)
HSVhsv(304, 75%, 78%)
CMYKcmyk(0%, 75.3%, 5.6%, 22.4%)
CIE-LABlab(49.24, 71.46, -40.44)
CIE-LCHlch(49.24, 82.11, 330.49°)
OKLaboklab(59.33% 0.2042 -0.1114)
OKLCHoklch(59.33% 0.233 331.4)
XYZxyz(33.3567, 17.7930, 48.6816)
Luminance0.1779 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C631BB #31C63C
analogous
#8731C6 #C631BB #C63170
triadic
#C631BB #BBC631 #31BBC6
tetradic
#C631BB #C68731 #31C63C #3170C6
square
#C631BB #C68731 #31C63C #3170C6
split-complementary
#C631BB #70C631 #31C687
monochromatic
#64195E #95258D #C631BB #D75DCE #E38EDD

Accessibility & contrast

On white

4.61
#C631BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#C631BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C631BB
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C631BB#FFFFFF#000000##FFFFFF
##C631BB1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2368BF
Deuteranopia (green-blind)
#617CB7
Tritanopia (blue-blind)
#CE4474
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c631bb;
/* rgb */ color: rgb(198, 49, 187);
/* oklch */ color: oklch(59.3% 0.233 331.4);
Tailwind
colors: {
  custom: {
    50: '#db79d0',
    500: '#c631bb',
    950: '#000000',
  },
}
SCSS
$custom: #c631bb;
$custom-light: #db79d0;
$custom-dark: #000000;
JSON
{
  "hex": "#c631bb",
  "rgb": {
    "r": 198,
    "g": 49,
    "b": 187
  },
  "hsl": {
    "h": 304.43,
    "s": 60.324,
    "l": 48.431
  },
  "oklch": {
    "l": 0.59328,
    "c": 0.23262,
    "h": 331.4
  },
  "luminance": 0.1779
}

Semantic roles & 50–950 ramp

primary
#C631BB
secondary
#85CE8B
accent
#E35044
background
#FEF7FC
surface
#FCEEF9
border
#D5C9D2
text
#150A14
muted
#847C82

Preview Lab

Preview with #C631BB

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

Preview Lab → · Contrast checker → · Palette generator →

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