#C631C2#C631C2

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

Color values

HEX#C631C2
RGBrgb(198, 49, 194)
HSLhsl(302, 60%, 48%)
HSVhsv(302, 75%, 78%)
CMYKcmyk(0%, 75.3%, 2%, 22.4%)
CIE-LABlab(49.62, 72.54, -43.92)
CIE-LCHlch(49.62, 84.80, 328.80°)
OKLaboklab(59.72% 0.2042 -0.1215)
OKLCHoklch(59.72% 0.238 329.2)
XYZxyz(34.1244, 18.1001, 52.7248)
Luminance0.1810 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C631C2 #31C635
analogous
#7F31C6 #C631C2 #C63177
triadic
#C631C2 #C2C631 #31C2C6
tetradic
#C631C2 #C67F31 #31C635 #3177C6
square
#C631C2 #C67F31 #31C635 #3177C6
split-complementary
#C631C2 #77C631 #31C67F
monochromatic
#641962 #952592 #C631C2 #D75DD4 #E38EE1

Accessibility & contrast

On white

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

On black

4.62
#C631C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C631C2
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C631C2#FFFFFF#000000##000000
##C631C21.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1669C6
Deuteranopia (green-blind)
#5E7DBE
Tritanopia (blue-blind)
#CD4878
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c631c2;
/* rgb */ color: rgb(198, 49, 194);
/* oklch */ color: oklch(59.7% 0.238 329.2);
Tailwind
colors: {
  custom: {
    50: '#db79d5',
    500: '#c631c2',
    950: '#000000',
  },
}
SCSS
$custom: #c631c2;
$custom-light: #db79d5;
$custom-dark: #000000;
JSON
{
  "hex": "#c631c2",
  "rgb": {
    "r": 198,
    "g": 49,
    "b": 194
  },
  "hsl": {
    "h": 301.611,
    "s": 60.324,
    "l": 48.431
  },
  "oklch": {
    "l": 0.59715,
    "c": 0.23767,
    "h": 329.2
  },
  "luminance": 0.18097
}

Semantic roles & 50–950 ramp

primary
#C631C2
secondary
#85CE87
accent
#E34944
background
#FEF7FD
surface
#FCEEFA
border
#D5C9D3
text
#160A14
muted
#847C83

Preview Lab

Preview with #C631C2

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

Preview Lab → · Contrast checker → · Palette generator →

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