#C731C0#C731C0

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

Color values

HEX#C731C0
RGBrgb(199, 49, 192)
HSLhsl(303, 60%, 49%)
HSVhsv(303, 75%, 78%)
CMYKcmyk(0%, 75.4%, 3.5%, 22%)
CIE-LABlab(49.67, 72.43, -42.66)
CIE-LCHlch(49.67, 84.06, 329.50°)
OKLaboklab(59.75% 0.2053 -0.1178)
OKLCHoklch(59.75% 0.237 330.1)
XYZxyz(34.1658, 18.1472, 51.5623)
Luminance0.1815 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C731C0 #31C738
analogous
#8331C7 #C731C0 #C73175
triadic
#C731C0 #C0C731 #31C0C7
tetradic
#C731C0 #C78331 #31C738 #3175C7
square
#C731C0 #C78331 #31C738 #3175C7
split-complementary
#C731C0 #75C731 #31C783
monochromatic
#651961 #962591 #C731C0 #D75ED2 #E38FDF

Accessibility & contrast

On white

4.54
#C731C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#C731C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C731C0
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C731C0#FFFFFF#000000##000000
##C731C01.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C69C4
Deuteranopia (green-blind)
#607DBC
Tritanopia (blue-blind)
#CE4677
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c731c0;
/* rgb */ color: rgb(199, 49, 192);
/* oklch */ color: oklch(59.8% 0.237 330.1);
Tailwind
colors: {
  custom: {
    50: '#dc7ad3',
    500: '#c731c0',
    950: '#000000',
  },
}
SCSS
$custom: #c731c0;
$custom-light: #dc7ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#c731c0",
  "rgb": {
    "r": 199,
    "g": 49,
    "b": 192
  },
  "hsl": {
    "h": 302.8,
    "s": 60.484,
    "l": 48.627
  },
  "oklch": {
    "l": 0.59752,
    "c": 0.23668,
    "h": 330.1
  },
  "luminance": 0.18145
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C731C0

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

Preview Lab → · Contrast checker → · Palette generator →

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