#C730C5#C730C5

#C730C5 is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 60.0% C 0.241 H 328.7°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#C730C5
RGBrgb(199, 48, 197)
HSLhsl(301, 61%, 48%)
HSVhsv(301, 76%, 78%)
CMYKcmyk(0%, 75.9%, 1%, 22%)
CIE-LABlab(49.85, 73.50, -45.28)
CIE-LCHlch(49.85, 86.33, 328.36°)
OKLaboklab(59.96% 0.2061 -0.1254)
OKLCHoklch(59.96% 0.241 328.7)
XYZxyz(34.6878, 18.2899, 54.5158)
Luminance0.1829 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C730C5 #30C732
analogous
#7D30C7 #C730C5 #C73079
triadic
#C730C5 #C5C730 #30C5C7
tetradic
#C730C5 #C77D30 #30C732 #3079C7
square
#C730C5 #C77D30 #30C732 #3079C7
split-complementary
#C730C5 #79C730 #30C77D
monochromatic
#641863 #962494 #C730C5 #D85CD6 #E48EE3

Accessibility & contrast

On white

4.51
#C730C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#C730C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C730C5
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C730C5#FFFFFF#000000##000000
##C730C51.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C6AC9
Deuteranopia (green-blind)
#5C7DC1
Tritanopia (blue-blind)
#CE4879
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c730c5;
/* rgb */ color: rgb(199, 48, 197);
/* oklch */ color: oklch(60.0% 0.241 328.7);
Tailwind
colors: {
  custom: {
    50: '#dc79d7',
    500: '#c730c5',
    950: '#000000',
  },
}
SCSS
$custom: #c730c5;
$custom-light: #dc79d7;
$custom-dark: #000000;
JSON
{
  "hex": "#c730c5",
  "rgb": {
    "r": 199,
    "g": 48,
    "b": 197
  },
  "hsl": {
    "h": 300.795,
    "s": 61.134,
    "l": 48.431
  },
  "oklch": {
    "l": 0.59962,
    "c": 0.24124,
    "h": 328.7
  },
  "luminance": 0.18287
}

Semantic roles & 50–950 ramp

primary
#C730C5
secondary
#85CE86
accent
#E44644
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160A14
muted
#847C83

Preview Lab

Preview with #C730C5

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

Preview Lab → · Contrast checker → · Palette generator →

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