#C631AE#C631AE

#C631AE is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.6% C 0.224 H 335.6°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#C631AE
RGBrgb(198, 49, 174)
HSLhsl(310, 60%, 48%)
HSVhsv(310, 75%, 78%)
CMYKcmyk(0%, 75.3%, 12.1%, 22.4%)
CIE-LABlab(48.59, 69.54, -33.86)
CIE-LCHlch(48.59, 77.35, 334.04°)
OKLaboklab(58.64% 0.2036 -0.0925)
OKLCHoklch(58.64% 0.224 335.6)
XYZxyz(32.0275, 17.2613, 41.6812)
Luminance0.1726 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C631AE #31C649
analogous
#9331C6 #C631AE #C63164
triadic
#C631AE #AEC631 #31AEC6
tetradic
#C631AE #C69331 #31C649 #3164C6
square
#C631AE #C69331 #31C649 #3164C6
split-complementary
#C631AE #64C631 #31C693
monochromatic
#641958 #952583 #C631AE #D75DC3 #E38ED5

Accessibility & contrast

On white

4.72
#C631AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#C631AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C631AE
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C631AE#FFFFFF#000000##FFFFFF
##C631AE1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3265B1
Deuteranopia (green-blind)
#687BAB
Tritanopia (blue-blind)
#D03D6D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c631ae;
/* rgb */ color: rgb(198, 49, 174);
/* oklch */ color: oklch(58.6% 0.224 335.6);
Tailwind
colors: {
  custom: {
    50: '#db79c6',
    500: '#c631ae',
    950: '#000000',
  },
}
SCSS
$custom: #c631ae;
$custom-light: #db79c6;
$custom-dark: #000000;
JSON
{
  "hex": "#c631ae",
  "rgb": {
    "r": 198,
    "g": 49,
    "b": 174
  },
  "hsl": {
    "h": 309.664,
    "s": 60.324,
    "l": 48.431
  },
  "oklch": {
    "l": 0.58644,
    "c": 0.22357,
    "h": 335.6
  },
  "luminance": 0.17258
}

Semantic roles & 50–950 ramp

primary
#C631AE
secondary
#85CE91
accent
#E35E44
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #C631AE

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

Preview Lab → · Contrast checker → · Palette generator →

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