#C732B2#C732B2

#C732B2 is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 59.1% C 0.226 H 334.5°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#C732B2
RGBrgb(199, 50, 178)
HSLhsl(308, 60%, 49%)
HSVhsv(308, 75%, 78%)
CMYKcmyk(0%, 74.9%, 10.6%, 22%)
CIE-LABlab(49.06, 70.04, -35.46)
CIE-LCHlch(49.06, 78.51, 333.15°)
OKLaboklab(59.08% 0.2039 -0.0971)
OKLCHoklch(59.08% 0.226 334.5)
XYZxyz(32.7300, 17.6406, 43.7920)
Luminance0.1764 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C732B2 #32C747
analogous
#9232C7 #C732B2 #C73268
triadic
#C732B2 #B2C732 #32B2C7
tetradic
#C732B2 #C79232 #32C747 #3268C7
square
#C732B2 #C79232 #32C747 #3268C7
split-complementary
#C732B2 #68C732 #32C792
monochromatic
#65195B #962686 #C732B2 #D75FC6 #E390D7

Accessibility & contrast

On white

4.64
#C732B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#C732B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C732B2
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C732B2#FFFFFF#000000##FFFFFF
##C732B21.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3067B5
Deuteranopia (green-blind)
#677CAE
Tritanopia (blue-blind)
#D1406F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c732b2;
/* rgb */ color: rgb(199, 50, 178);
/* oklch */ color: oklch(59.1% 0.226 334.5);
Tailwind
colors: {
  custom: {
    50: '#dc79c9',
    500: '#c732b2',
    950: '#000000',
  },
}
SCSS
$custom: #c732b2;
$custom-light: #dc79c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c732b2",
  "rgb": {
    "r": 199,
    "g": 50,
    "b": 178
  },
  "hsl": {
    "h": 308.456,
    "s": 59.839,
    "l": 48.824
  },
  "oklch": {
    "l": 0.59077,
    "c": 0.22583,
    "h": 334.5
  },
  "luminance": 0.17638
}

Semantic roles & 50–950 ramp

primary
#C732B2
secondary
#87CE91
accent
#E35B45
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #C732B2

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

Preview Lab → · Contrast checker → · Palette generator →

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