#C734B2#C734B2

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

Color values

HEX#C734B2
RGBrgb(199, 52, 178)
HSLhsl(309, 59%, 49%)
HSVhsv(309, 74%, 78%)
CMYKcmyk(0%, 73.9%, 10.6%, 22%)
CIE-LABlab(49.27, 69.43, -35.13)
CIE-LCHlch(49.27, 77.81, 333.16°)
OKLaboklab(59.23% 0.2021 -0.0961)
OKLCHoklch(59.23% 0.224 334.6)
XYZxyz(32.8174, 17.8153, 43.8212)
Luminance0.1781 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C734B2 #34C749
analogous
#9234C7 #C734B2 #C73469
triadic
#C734B2 #B2C734 #34B2C7
tetradic
#C734B2 #C79234 #34C749 #3469C7
square
#C734B2 #C79234 #34C749 #3469C7
split-complementary
#C734B2 #69C734 #34C792
monochromatic
#661B5B #962787 #C734B2 #D662C5 #E393D7

Accessibility & contrast

On white

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

On black

4.56
#C734B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C734B2#FFFFFF#000000##FFFFFF
##C734B21.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3267B5
Deuteranopia (green-blind)
#687DAF
Tritanopia (blue-blind)
#D14170
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c734b2;
/* rgb */ color: rgb(199, 52, 178);
/* oklch */ color: oklch(59.2% 0.224 334.6);
Tailwind
colors: {
  custom: {
    50: '#dc7ac9',
    500: '#c734b2',
    950: '#000000',
  },
}
SCSS
$custom: #c734b2;
$custom-light: #dc7ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#c734b2",
  "rgb": {
    "r": 199,
    "g": 52,
    "b": 178
  },
  "hsl": {
    "h": 308.571,
    "s": 58.566,
    "l": 49.216
  },
  "oklch": {
    "l": 0.59231,
    "c": 0.2238,
    "h": 334.6
  },
  "luminance": 0.17812
}

Semantic roles & 50–950 ramp

primary
#C734B2
secondary
#89CE93
accent
#E25C46
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160A13
muted
#847C82

Preview Lab

Preview with #C734B2

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

Preview Lab → · Contrast checker → · Palette generator →

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