#C631B5#C631B5

#C631B5 is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 59.0% C 0.228 H 333.3°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#C631B5
RGBrgb(198, 49, 181)
HSLhsl(307, 60%, 48%)
HSVhsv(307, 75%, 78%)
CMYKcmyk(0%, 75.3%, 8.6%, 22.4%)
CIE-LABlab(48.94, 70.56, -37.42)
CIE-LCHlch(48.94, 79.87, 332.06°)
OKLaboklab(59.01% 0.204 -0.1027)
OKLCHoklch(59.01% 0.228 333.3)
XYZxyz(32.7277, 17.5414, 45.3693)
Luminance0.1754 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C631B5 #31C642
analogous
#8C31C6 #C631B5 #C6316A
triadic
#C631B5 #B5C631 #31B5C6
tetradic
#C631B5 #C68C31 #31C642 #316AC6
square
#C631B5 #C68C31 #31C642 #316AC6
split-complementary
#C631B5 #6AC631 #31C68C
monochromatic
#64195B #952588 #C631B5 #D75DC9 #E38ED9

Accessibility & contrast

On white

4.66
#C631B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#C631B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C631B5
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C631B5#FFFFFF#000000##FFFFFF
##C631B51.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B67B9
Deuteranopia (green-blind)
#647CB1
Tritanopia (blue-blind)
#CF4171
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c631b5;
/* rgb */ color: rgb(198, 49, 181);
/* oklch */ color: oklch(59.0% 0.228 333.3);
Tailwind
colors: {
  custom: {
    50: '#db79cb',
    500: '#c631b5',
    950: '#000000',
  },
}
SCSS
$custom: #c631b5;
$custom-light: #db79cb;
$custom-dark: #000000;
JSON
{
  "hex": "#c631b5",
  "rgb": {
    "r": 198,
    "g": 49,
    "b": 181
  },
  "hsl": {
    "h": 306.846,
    "s": 60.324,
    "l": 48.431
  },
  "oklch": {
    "l": 0.59006,
    "c": 0.22838,
    "h": 333.3
  },
  "luminance": 0.17539
}

Semantic roles & 50–950 ramp

primary
#C631B5
secondary
#85CE8E
accent
#E35644
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#150A13
muted
#847C82

Preview Lab

Preview with #C631B5

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

Preview Lab → · Contrast checker → · Palette generator →

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