#C732B7#C732B7

#C732B7 is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 59.3% C 0.229 H 332.9°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#C732B7
RGBrgb(199, 50, 183)
HSLhsl(306, 60%, 49%)
HSVhsv(306, 75%, 78%)
CMYKcmyk(0%, 74.9%, 8%, 22%)
CIE-LABlab(49.31, 70.78, -38.00)
CIE-LCHlch(49.31, 80.33, 331.77°)
OKLaboklab(59.34% 0.2042 -0.1044)
OKLCHoklch(59.34% 0.229 332.9)
XYZxyz(33.2412, 17.8450, 46.4843)
Luminance0.1784 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C732B7 #32C742
analogous
#8D32C7 #C732B7 #C7326D
triadic
#C732B7 #B7C732 #32B7C7
tetradic
#C732B7 #C78D32 #32C742 #326DC7
square
#C732B7 #C78D32 #32C742 #326DC7
split-complementary
#C732B7 #6DC732 #32C78D
monochromatic
#65195D #96268A #C732B7 #D75FCA #E390DA

Accessibility & contrast

On white

4.60
#C732B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#C732B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C732B7
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C732B7#FFFFFF#000000##FFFFFF
##C732B71.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A68BB
Deuteranopia (green-blind)
#657DB3
Tritanopia (blue-blind)
#D04272
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c732b7;
/* rgb */ color: rgb(199, 50, 183);
/* oklch */ color: oklch(59.3% 0.229 332.9);
Tailwind
colors: {
  custom: {
    50: '#dc7acd',
    500: '#c732b7',
    950: '#000000',
  },
}
SCSS
$custom: #c732b7;
$custom-light: #dc7acd;
$custom-dark: #000000;
JSON
{
  "hex": "#c732b7",
  "rgb": {
    "r": 199,
    "g": 50,
    "b": 183
  },
  "hsl": {
    "h": 306.443,
    "s": 59.839,
    "l": 48.824
  },
  "oklch": {
    "l": 0.59338,
    "c": 0.22931,
    "h": 332.9
  },
  "luminance": 0.17842
}

Semantic roles & 50–950 ramp

primary
#C732B7
secondary
#87CE8F
accent
#E35645
background
#FEF7FC
surface
#FCEEF9
border
#D5C9D2
text
#160A13
muted
#847C82

Preview Lab

Preview with #C732B7

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

Preview Lab → · Contrast checker → · Palette generator →

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