#C732B4#C732B4

#C732B4 is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 59.2% C 0.227 H 333.9°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#C732B4
RGBrgb(199, 50, 180)
HSLhsl(308, 60%, 49%)
HSVhsv(308, 75%, 78%)
CMYKcmyk(0%, 74.9%, 9.5%, 22%)
CIE-LABlab(49.16, 70.33, -36.48)
CIE-LCHlch(49.16, 79.23, 332.59°)
OKLaboklab(59.18% 0.204 -0.1)
OKLCHoklch(59.18% 0.227 333.9)
XYZxyz(32.9323, 17.7215, 44.8573)
Luminance0.1772 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C732B4 #32C745
analogous
#9032C7 #C732B4 #C7326A
triadic
#C732B4 #B4C732 #32B4C7
tetradic
#C732B4 #C79032 #32C745 #326AC7
square
#C732B4 #C79032 #32C745 #326AC7
split-complementary
#C732B4 #6AC732 #32C790
monochromatic
#65195C #962688 #C732B4 #D75FC8 #E390D9

Accessibility & contrast

On white

4.62
#C732B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#C732B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C732B4
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C732B4#FFFFFF#000000##FFFFFF
##C732B41.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E67B7
Deuteranopia (green-blind)
#667CB0
Tritanopia (blue-blind)
#D04170
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c732b4;
/* rgb */ color: rgb(199, 50, 180);
/* oklch */ color: oklch(59.2% 0.227 333.9);
Tailwind
colors: {
  custom: {
    50: '#dc79cb',
    500: '#c732b4',
    950: '#000000',
  },
}
SCSS
$custom: #c732b4;
$custom-light: #dc79cb;
$custom-dark: #000000;
JSON
{
  "hex": "#c732b4",
  "rgb": {
    "r": 199,
    "g": 50,
    "b": 180
  },
  "hsl": {
    "h": 307.651,
    "s": 59.839,
    "l": 48.824
  },
  "oklch": {
    "l": 0.59181,
    "c": 0.22722,
    "h": 333.9
  },
  "luminance": 0.17719
}

Semantic roles & 50–950 ramp

primary
#C732B4
secondary
#87CE90
accent
#E35945
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #C732B4

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

Preview Lab → · Contrast checker → · Palette generator →

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