#C631AF#C631AF

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

Color values

HEX#C631AF
RGBrgb(198, 49, 175)
HSLhsl(309, 60%, 48%)
HSVhsv(309, 75%, 78%)
CMYKcmyk(0%, 75.3%, 11.6%, 22.4%)
CIE-LABlab(48.64, 69.68, -34.37)
CIE-LCHlch(48.64, 77.70, 333.74°)
OKLaboklab(58.7% 0.2036 -0.0939)
OKLCHoklch(58.7% 0.224 335.2)
XYZxyz(32.1253, 17.3004, 42.1965)
Luminance0.1730 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C631AF #31C648
analogous
#9231C6 #C631AF #C63164
triadic
#C631AF #AFC631 #31AFC6
tetradic
#C631AF #C69231 #31C648 #3164C6
square
#C631AF #C69231 #31C648 #3164C6
split-complementary
#C631AF #64C631 #31C692
monochromatic
#641958 #952584 #C631AF #D75DC4 #E38ED6

Accessibility & contrast

On white

4.71
#C631AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#C631AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C631AF
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C631AF#FFFFFF#000000##FFFFFF
##C631AF1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3165B2
Deuteranopia (green-blind)
#677BAC
Tritanopia (blue-blind)
#D03E6D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c631af;
/* rgb */ color: rgb(198, 49, 175);
/* oklch */ color: oklch(58.7% 0.224 335.2);
Tailwind
colors: {
  custom: {
    50: '#db79c7',
    500: '#c631af',
    950: '#000000',
  },
}
SCSS
$custom: #c631af;
$custom-light: #db79c7;
$custom-dark: #000000;
JSON
{
  "hex": "#c631af",
  "rgb": {
    "r": 198,
    "g": 49,
    "b": 175
  },
  "hsl": {
    "h": 309.262,
    "s": 60.324,
    "l": 48.431
  },
  "oklch": {
    "l": 0.58695,
    "c": 0.22425,
    "h": 335.2
  },
  "luminance": 0.17298
}

Semantic roles & 50–950 ramp

primary
#C631AF
secondary
#85CE90
accent
#E35D44
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #C631AF

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

Preview Lab → · Contrast checker → · Palette generator →

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