#C631BA#C631BA

#C631BA is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 59.3% C 0.232 H 331.7°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#C631BA
RGBrgb(198, 49, 186)
HSLhsl(305, 60%, 48%)
HSVhsv(305, 75%, 78%)
CMYKcmyk(0%, 75.3%, 6.1%, 22.4%)
CIE-LABlab(49.19, 71.31, -39.94)
CIE-LCHlch(49.19, 81.73, 330.75°)
OKLaboklab(59.27% 0.2042 -0.11)
OKLCHoklch(59.27% 0.232 331.7)
XYZxyz(33.2500, 17.7503, 48.1198)
Luminance0.1775 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C631BA #31C63D
analogous
#8731C6 #C631BA #C6316F
triadic
#C631BA #BAC631 #31BAC6
tetradic
#C631BA #C68731 #31C63D #316FC6
square
#C631BA #C68731 #31C63D #316FC6
split-complementary
#C631BA #6FC631 #31C687
monochromatic
#64195E #95258C #C631BA #D75DCD #E38EDC

Accessibility & contrast

On white

4.62
#C631BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#C631BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C631BA
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C631BA#FFFFFF#000000##FFFFFF
##C631BA1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2468BE
Deuteranopia (green-blind)
#627CB6
Tritanopia (blue-blind)
#CE4374
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c631ba;
/* rgb */ color: rgb(198, 49, 186);
/* oklch */ color: oklch(59.3% 0.232 331.7);
Tailwind
colors: {
  custom: {
    50: '#db79cf',
    500: '#c631ba',
    950: '#000000',
  },
}
SCSS
$custom: #c631ba;
$custom-light: #db79cf;
$custom-dark: #000000;
JSON
{
  "hex": "#c631ba",
  "rgb": {
    "r": 198,
    "g": 49,
    "b": 186
  },
  "hsl": {
    "h": 304.832,
    "s": 60.324,
    "l": 48.431
  },
  "oklch": {
    "l": 0.59273,
    "c": 0.23191,
    "h": 331.7
  },
  "luminance": 0.17748
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C631BA

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

Preview Lab → · Contrast checker → · Palette generator →

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