#C730B6#C730B6

#C730B6 is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 59.1% C 0.231 H 333.2°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#C730B6
RGBrgb(199, 48, 182)
HSLhsl(307, 61%, 48%)
HSVhsv(307, 76%, 78%)
CMYKcmyk(0%, 75.9%, 8.5%, 22%)
CIE-LABlab(49.05, 71.22, -37.81)
CIE-LCHlch(49.05, 80.63, 332.03°)
OKLaboklab(59.14% 0.2059 -0.1038)
OKLCHoklch(59.14% 0.231 333.2)
XYZxyz(33.0539, 17.6363, 45.9102)
Luminance0.1763 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C730B6 #30C741
analogous
#8C30C7 #C730B6 #C7306A
triadic
#C730B6 #B6C730 #30B6C7
tetradic
#C730B6 #C78C30 #30C741 #306AC7
square
#C730B6 #C78C30 #30C741 #306AC7
split-complementary
#C730B6 #6AC730 #30C78C
monochromatic
#64185C #962489 #C730B6 #D85CCA #E48EDA

Accessibility & contrast

On white

4.64
#C730B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#C730B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C730B6
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C730B6#FFFFFF#000000##FFFFFF
##C730B61.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2967BA
Deuteranopia (green-blind)
#647CB2
Tritanopia (blue-blind)
#D04071
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c730b6;
/* rgb */ color: rgb(199, 48, 182);
/* oklch */ color: oklch(59.1% 0.231 333.2);
Tailwind
colors: {
  custom: {
    50: '#dc79cc',
    500: '#c730b6',
    950: '#000000',
  },
}
SCSS
$custom: #c730b6;
$custom-light: #dc79cc;
$custom-dark: #000000;
JSON
{
  "hex": "#c730b6",
  "rgb": {
    "r": 199,
    "g": 48,
    "b": 182
  },
  "hsl": {
    "h": 306.755,
    "s": 61.134,
    "l": 48.431
  },
  "oklch": {
    "l": 0.59138,
    "c": 0.23057,
    "h": 333.2
  },
  "luminance": 0.17633
}

Semantic roles & 50–950 ramp

primary
#C730B6
secondary
#85CE8D
accent
#E45644
background
#FEF7FC
surface
#FCEEF9
border
#D5C9D2
text
#160A13
muted
#847C82

Preview Lab

Preview with #C730B6

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

Preview Lab → · Contrast checker → · Palette generator →

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