#C734B1#C734B1

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

Color values

HEX#C734B1
RGBrgb(199, 52, 177)
HSLhsl(309, 59%, 49%)
HSVhsv(309, 74%, 78%)
CMYKcmyk(0%, 73.9%, 11.1%, 22%)
CIE-LABlab(49.22, 69.28, -34.62)
CIE-LCHlch(49.22, 77.45, 333.45°)
OKLaboklab(59.18% 0.202 -0.0946)
OKLCHoklch(59.18% 0.223 334.9)
XYZxyz(32.7174, 17.7753, 43.2943)
Luminance0.1777 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C734B1 #34C74A
analogous
#9434C7 #C734B1 #C73467
triadic
#C734B1 #B1C734 #34B1C7
tetradic
#C734B1 #C79434 #34C74A #3467C7
square
#C734B1 #C79434 #34C74A #3467C7
split-complementary
#C734B1 #67C734 #34C794
monochromatic
#661B5B #962786 #C734B1 #D662C5 #E393D7

Accessibility & contrast

On white

4.61
#C734B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#C734B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C734B1
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C734B1#FFFFFF#000000##FFFFFF
##C734B11.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3367B4
Deuteranopia (green-blind)
#687DAE
Tritanopia (blue-blind)
#D1416F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c734b1;
/* rgb */ color: rgb(199, 52, 177);
/* oklch */ color: oklch(59.2% 0.223 334.9);
Tailwind
colors: {
  custom: {
    50: '#dc7ac8',
    500: '#c734b1',
    950: '#000000',
  },
}
SCSS
$custom: #c734b1;
$custom-light: #dc7ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#c734b1",
  "rgb": {
    "r": 199,
    "g": 52,
    "b": 177
  },
  "hsl": {
    "h": 308.98,
    "s": 58.566,
    "l": 49.216
  },
  "oklch": {
    "l": 0.5918,
    "c": 0.22311,
    "h": 334.9
  },
  "luminance": 0.17772
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C734B1

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

Preview Lab → · Contrast checker → · Palette generator →

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