#C734B5#C734B5

#C734B5 is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.4% C 0.226 H 333.6°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#C734B5
RGBrgb(199, 52, 181)
HSLhsl(307, 59%, 49%)
HSVhsv(307, 74%, 78%)
CMYKcmyk(0%, 73.9%, 9%, 22%)
CIE-LABlab(49.42, 69.87, -36.65)
CIE-LCHlch(49.42, 78.90, 332.32°)
OKLaboklab(59.39% 0.2023 -0.1005)
OKLCHoklch(59.39% 0.226 333.6)
XYZxyz(33.1219, 17.9371, 45.4249)
Luminance0.1793 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C734B5 #34C746
analogous
#9034C7 #C734B5 #C7346C
triadic
#C734B5 #B5C734 #34B5C7
tetradic
#C734B5 #C79034 #34C746 #346CC7
square
#C734B5 #C79034 #34C746 #346CC7
split-complementary
#C734B5 #6CC734 #34C790
monochromatic
#661B5D #962789 #C734B5 #D662C8 #E393D9

Accessibility & contrast

On white

4.58
#C734B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#C734B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C734B5
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C734B5#FFFFFF#000000##000000
##C734B51.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F68B9
Deuteranopia (green-blind)
#667DB1
Tritanopia (blue-blind)
#D04372
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c734b5;
/* rgb */ color: rgb(199, 52, 181);
/* oklch */ color: oklch(59.4% 0.226 333.6);
Tailwind
colors: {
  custom: {
    50: '#dc7acb',
    500: '#c734b5',
    950: '#000000',
  },
}
SCSS
$custom: #c734b5;
$custom-light: #dc7acb;
$custom-dark: #000000;
JSON
{
  "hex": "#c734b5",
  "rgb": {
    "r": 199,
    "g": 52,
    "b": 181
  },
  "hsl": {
    "h": 307.347,
    "s": 58.566,
    "l": 49.216
  },
  "oklch": {
    "l": 0.59386,
    "c": 0.22589,
    "h": 333.6
  },
  "luminance": 0.17934
}

Semantic roles & 50–950 ramp

primary
#C734B5
secondary
#89CE92
accent
#E25946
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160A13
muted
#847C82

Preview Lab

Preview with #C734B5

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

Preview Lab → · Contrast checker → · Palette generator →

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