#C631C1#C631C1

#C631C1 is a mid, highly saturated purple. Relative luminance 0.181; OKLCH L 59.7% C 0.237 H 329.5°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#C631C1
RGBrgb(198, 49, 193)
HSLhsl(302, 60%, 48%)
HSVhsv(302, 75%, 78%)
CMYKcmyk(0%, 75.3%, 2.5%, 22.4%)
CIE-LABlab(49.56, 72.38, -43.43)
CIE-LCHlch(49.56, 84.41, 329.04°)
OKLaboklab(59.66% 0.2043 -0.1201)
OKLCHoklch(59.66% 0.237 329.5)
XYZxyz(34.0124, 18.0553, 52.1354)
Luminance0.1805 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C631C1 #31C636
analogous
#8031C6 #C631C1 #C63177
triadic
#C631C1 #C1C631 #31C1C6
tetradic
#C631C1 #C68031 #31C636 #3177C6
square
#C631C1 #C68031 #31C636 #3177C6
split-complementary
#C631C1 #77C631 #31C680
monochromatic
#641961 #952591 #C631C1 #D75DD3 #E38EE0

Accessibility & contrast

On white

4.55
#C631C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#C631C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C631C1
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C631C1#FFFFFF#000000##000000
##C631C11.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1869C5
Deuteranopia (green-blind)
#5E7DBD
Tritanopia (blue-blind)
#CD4777
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c631c1;
/* rgb */ color: rgb(198, 49, 193);
/* oklch */ color: oklch(59.7% 0.237 329.5);
Tailwind
colors: {
  custom: {
    50: '#db79d4',
    500: '#c631c1',
    950: '#000000',
  },
}
SCSS
$custom: #c631c1;
$custom-light: #db79d4;
$custom-dark: #000000;
JSON
{
  "hex": "#c631c1",
  "rgb": {
    "r": 198,
    "g": 49,
    "b": 193
  },
  "hsl": {
    "h": 302.013,
    "s": 60.324,
    "l": 48.431
  },
  "oklch": {
    "l": 0.59659,
    "c": 0.23694,
    "h": 329.5
  },
  "luminance": 0.18053
}

Semantic roles & 50–950 ramp

primary
#C631C1
secondary
#85CE88
accent
#E34A44
background
#FEF7FD
surface
#FCEEFA
border
#D5C9D3
text
#160A14
muted
#847C83

Preview Lab

Preview with #C631C1

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

Preview Lab → · Contrast checker → · Palette generator →

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