#C731C1#C731C1

#C731C1 is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.8% C 0.237 H 329.8°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#C731C1
RGBrgb(199, 49, 193)
HSLhsl(302, 60%, 49%)
HSVhsv(302, 75%, 78%)
CMYKcmyk(0%, 75.4%, 3%, 22%)
CIE-LABlab(49.73, 72.59, -43.15)
CIE-LCHlch(49.73, 84.45, 329.27°)
OKLaboklab(59.81% 0.2053 -0.1193)
OKLCHoklch(59.81% 0.237 329.8)
XYZxyz(34.2770, 18.1917, 52.1478)
Luminance0.1819 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C731C1 #31C737
analogous
#8231C7 #C731C1 #C73176
triadic
#C731C1 #C1C731 #31C1C7
tetradic
#C731C1 #C78231 #31C737 #3176C7
square
#C731C1 #C78231 #31C737 #3176C7
split-complementary
#C731C1 #76C731 #31C782
monochromatic
#651962 #962591 #C731C1 #D75ED2 #E38FE0

Accessibility & contrast

On white

4.53
#C731C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#C731C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C731C1
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C731C1#FFFFFF#000000##000000
##C731C11.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A69C5
Deuteranopia (green-blind)
#5F7DBD
Tritanopia (blue-blind)
#CE4777
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c731c1;
/* rgb */ color: rgb(199, 49, 193);
/* oklch */ color: oklch(59.8% 0.237 329.8);
Tailwind
colors: {
  custom: {
    50: '#dc7ad4',
    500: '#c731c1',
    950: '#000000',
  },
}
SCSS
$custom: #c731c1;
$custom-light: #dc7ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#c731c1",
  "rgb": {
    "r": 199,
    "g": 49,
    "b": 193
  },
  "hsl": {
    "h": 302.4,
    "s": 60.484,
    "l": 48.627
  },
  "oklch": {
    "l": 0.59808,
    "c": 0.2374,
    "h": 329.8
  },
  "luminance": 0.18189
}

Semantic roles & 50–950 ramp

primary
#C731C1
secondary
#86CE89
accent
#E44B44
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160A14
muted
#847C83

Preview Lab

Preview with #C731C1

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

Preview Lab → · Contrast checker → · Palette generator →

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