#C734B7#C734B7

#C734B7 is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.5% C 0.227 H 332.9°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#C734B7
RGBrgb(199, 52, 183)
HSLhsl(307, 59%, 49%)
HSVhsv(307, 74%, 78%)
CMYKcmyk(0%, 73.9%, 8%, 22%)
CIE-LABlab(49.52, 70.17, -37.66)
CIE-LCHlch(49.52, 79.64, 331.78°)
OKLaboklab(59.49% 0.2024 -0.1034)
OKLCHoklch(59.49% 0.227 332.9)
XYZxyz(33.3286, 18.0198, 46.5134)
Luminance0.1802 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C734B7 #34C744
analogous
#8E34C7 #C734B7 #C7346D
triadic
#C734B7 #B7C734 #34B7C7
tetradic
#C734B7 #C78E34 #34C744 #346DC7
square
#C734B7 #C78E34 #34C744 #346DC7
split-complementary
#C734B7 #6DC734 #34C78E
monochromatic
#661B5E #96278A #C734B7 #D662C9 #E393DA

Accessibility & contrast

On white

4.56
#C734B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#C734B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C734B7
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C734B7#FFFFFF#000000##000000
##C734B71.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D68BB
Deuteranopia (green-blind)
#657DB3
Tritanopia (blue-blind)
#D04473
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c734b7;
/* rgb */ color: rgb(199, 52, 183);
/* oklch */ color: oklch(59.5% 0.227 332.9);
Tailwind
colors: {
  custom: {
    50: '#dc7acd',
    500: '#c734b7',
    950: '#000000',
  },
}
SCSS
$custom: #c734b7;
$custom-light: #dc7acd;
$custom-dark: #000000;
JSON
{
  "hex": "#c734b7",
  "rgb": {
    "r": 199,
    "g": 52,
    "b": 183
  },
  "hsl": {
    "h": 306.531,
    "s": 58.566,
    "l": 49.216
  },
  "oklch": {
    "l": 0.59491,
    "c": 0.2273,
    "h": 332.9
  },
  "luminance": 0.18017
}

Semantic roles & 50–950 ramp

primary
#C734B7
secondary
#89CE91
accent
#E25746
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160A13
muted
#847C82

Preview Lab

Preview with #C734B7

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

Preview Lab → · Contrast checker → · Palette generator →

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