#C732C1#C732C1

#C732C1 is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.9% C 0.236 H 329.8°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#C732C1
RGBrgb(199, 50, 193)
HSLhsl(302, 60%, 49%)
HSVhsv(302, 75%, 78%)
CMYKcmyk(0%, 74.9%, 3%, 22%)
CIE-LABlab(49.83, 72.30, -42.99)
CIE-LCHlch(49.83, 84.11, 329.26°)
OKLaboklab(59.88% 0.2044 -0.1188)
OKLCHoklch(59.88% 0.236 329.8)
XYZxyz(34.3192, 18.2763, 52.1619)
Luminance0.1827 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C732C1 #32C738
analogous
#8332C7 #C732C1 #C73277
triadic
#C732C1 #C1C732 #32C1C7
tetradic
#C732C1 #C78332 #32C738 #3277C7
square
#C732C1 #C78332 #32C738 #3277C7
split-complementary
#C732C1 #77C732 #32C783
monochromatic
#651962 #962692 #C732C1 #D75FD2 #E390E0

Accessibility & contrast

On white

4.51
#C732C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#C732C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C732C1
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C732C1#FFFFFF#000000##000000
##C732C11.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c732c1;
/* rgb */ color: rgb(199, 50, 193);
/* oklch */ color: oklch(59.9% 0.236 329.8);
Tailwind
colors: {
  custom: {
    50: '#dc7ad4',
    500: '#c732c1',
    950: '#000000',
  },
}
SCSS
$custom: #c732c1;
$custom-light: #dc7ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#c732c1",
  "rgb": {
    "r": 199,
    "g": 50,
    "b": 193
  },
  "hsl": {
    "h": 302.416,
    "s": 59.839,
    "l": 48.824
  },
  "oklch": {
    "l": 0.5988,
    "c": 0.23646,
    "h": 329.8
  },
  "luminance": 0.18274
}

Semantic roles & 50–950 ramp

primary
#C732C1
secondary
#87CE8A
accent
#E34B45
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160A14
muted
#847C83

Preview Lab

Preview with #C732C1

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

Preview Lab → · Contrast checker → · Palette generator →

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