#C732B8#C732B8

#C732B8 is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.4% C 0.230 H 332.6°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#C732B8
RGBrgb(199, 50, 184)
HSLhsl(306, 60%, 49%)
HSVhsv(306, 75%, 78%)
CMYKcmyk(0%, 74.9%, 7.5%, 22%)
CIE-LABlab(49.36, 70.93, -38.50)
CIE-LCHlch(49.36, 80.70, 331.51°)
OKLaboklab(59.39% 0.2042 -0.1058)
OKLCHoklch(59.39% 0.23 332.6)
XYZxyz(33.3457, 17.8868, 47.0344)
Luminance0.1788 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C732B8 #32C741
analogous
#8C32C7 #C732B8 #C7326E
triadic
#C732B8 #B8C732 #32B8C7
tetradic
#C732B8 #C78C32 #32C741 #326EC7
square
#C732B8 #C78C32 #32C741 #326EC7
split-complementary
#C732B8 #6EC732 #32C78C
monochromatic
#65195E #96268B #C732B8 #D75FCB #E390DB

Accessibility & contrast

On white

4.59
#C732B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#C732B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C732B8
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C732B8#FFFFFF#000000##FFFFFF
##C732B81.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2968BC
Deuteranopia (green-blind)
#647DB4
Tritanopia (blue-blind)
#D04373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c732b8;
/* rgb */ color: rgb(199, 50, 184);
/* oklch */ color: oklch(59.4% 0.230 332.6);
Tailwind
colors: {
  custom: {
    50: '#dc7ace',
    500: '#c732b8',
    950: '#000000',
  },
}
SCSS
$custom: #c732b8;
$custom-light: #dc7ace;
$custom-dark: #000000;
JSON
{
  "hex": "#c732b8",
  "rgb": {
    "r": 199,
    "g": 50,
    "b": 184
  },
  "hsl": {
    "h": 306.04,
    "s": 59.839,
    "l": 48.824
  },
  "oklch": {
    "l": 0.59391,
    "c": 0.23001,
    "h": 332.6
  },
  "luminance": 0.17884
}

Semantic roles & 50–950 ramp

primary
#C732B8
secondary
#87CE8E
accent
#E35545
background
#FEF7FC
surface
#FCEEF9
border
#D5C9D2
text
#160A13
muted
#847C82

Preview Lab

Preview with #C732B8

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

Preview Lab → · Contrast checker → · Palette generator →

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