#C730B4#C730B4

#C730B4 is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 59.0% C 0.229 H 333.9°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#C730B4
RGBrgb(199, 48, 180)
HSLhsl(308, 61%, 48%)
HSVhsv(308, 76%, 78%)
CMYKcmyk(0%, 75.9%, 9.5%, 22%)
CIE-LABlab(48.95, 70.92, -36.80)
CIE-LCHlch(48.95, 79.90, 332.57°)
OKLaboklab(59.03% 0.2058 -0.1009)
OKLCHoklch(59.03% 0.229 333.9)
XYZxyz(32.8487, 17.5542, 44.8294)
Luminance0.1755 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C730B4 #30C743
analogous
#8E30C7 #C730B4 #C73068
triadic
#C730B4 #B4C730 #30B4C7
tetradic
#C730B4 #C78E30 #30C743 #3068C7
square
#C730B4 #C78E30 #30C743 #3068C7
split-complementary
#C730B4 #68C730 #30C78E
monochromatic
#64185B #962487 #C730B4 #D85CC8 #E48ED9

Accessibility & contrast

On white

4.66
#C730B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#C730B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C730B4
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C730B4#FFFFFF#000000##FFFFFF
##C730B41.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B66B8
Deuteranopia (green-blind)
#657CB0
Tritanopia (blue-blind)
#D03F70
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c730b4;
/* rgb */ color: rgb(199, 48, 180);
/* oklch */ color: oklch(59.0% 0.229 333.9);
Tailwind
colors: {
  custom: {
    50: '#dc79cb',
    500: '#c730b4',
    950: '#000000',
  },
}
SCSS
$custom: #c730b4;
$custom-light: #dc79cb;
$custom-dark: #000000;
JSON
{
  "hex": "#c730b4",
  "rgb": {
    "r": 199,
    "g": 48,
    "b": 180
  },
  "hsl": {
    "h": 307.55,
    "s": 61.134,
    "l": 48.431
  },
  "oklch": {
    "l": 0.59033,
    "c": 0.22918,
    "h": 333.9
  },
  "luminance": 0.17551
}

Semantic roles & 50–950 ramp

primary
#C730B4
secondary
#85CE8E
accent
#E45844
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #C730B4

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

Preview Lab → · Contrast checker → · Palette generator →

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