#C730C6#C730C6

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

Color values

HEX#C730C6
RGBrgb(199, 48, 198)
HSLhsl(300, 61%, 48%)
HSVhsv(300, 76%, 78%)
CMYKcmyk(0%, 75.9%, 0.5%, 22%)
CIE-LABlab(49.90, 73.65, -45.78)
CIE-LCHlch(49.90, 86.72, 328.14°)
OKLaboklab(60.02% 0.206 -0.1269)
OKLCHoklch(60.02% 0.242 328.4)
XYZxyz(34.8028, 18.3358, 55.1213)
Luminance0.1833 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C730C6 #30C731
analogous
#7C30C7 #C730C6 #C7307A
triadic
#C730C6 #C6C730 #30C6C7
tetradic
#C730C6 #C77C30 #30C731 #307AC7
square
#C730C6 #C77C30 #30C731 #307AC7
split-complementary
#C730C6 #7AC730 #30C77C
monochromatic
#641864 #962495 #C730C6 #D85CD7 #E48EE3

Accessibility & contrast

On white

4.50
#C730C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#C730C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C730C6
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C730C6#FFFFFF#000000##000000
##C730C61.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#086ACA
Deuteranopia (green-blind)
#5C7DC2
Tritanopia (blue-blind)
#CD497A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c730c6;
/* rgb */ color: rgb(199, 48, 198);
/* oklch */ color: oklch(60.0% 0.242 328.4);
Tailwind
colors: {
  custom: {
    50: '#dc79d8',
    500: '#c730c6',
    950: '#000000',
  },
}
SCSS
$custom: #c730c6;
$custom-light: #dc79d8;
$custom-dark: #000000;
JSON
{
  "hex": "#c730c6",
  "rgb": {
    "r": 199,
    "g": 48,
    "b": 198
  },
  "hsl": {
    "h": 300.397,
    "s": 61.134,
    "l": 48.431
  },
  "oklch": {
    "l": 0.60019,
    "c": 0.24197,
    "h": 328.4
  },
  "luminance": 0.18333
}

Semantic roles & 50–950 ramp

primary
#C730C6
secondary
#85CE85
accent
#E44544
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160A14
muted
#847C83

Preview Lab

Preview with #C730C6

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

Preview Lab → · Contrast checker → · Palette generator →

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