#C730C7#C730C7

#C730C7 is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 60.1% C 0.243 H 328.1°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#C730C7
RGBrgb(199, 48, 199)
HSLhsl(300, 61%, 48%)
HSVhsv(300, 76%, 78%)
CMYKcmyk(0%, 75.9%, 0%, 22%)
CIE-LABlab(49.96, 73.81, -46.27)
CIE-LCHlch(49.96, 87.11, 327.92°)
OKLaboklab(60.08% 0.206 -0.1283)
OKLCHoklch(60.08% 0.243 328.1)
XYZxyz(34.9185, 18.3821, 55.7307)
Luminance0.1838 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C730C7 #30C730
analogous
#7B30C7 #C730C7 #C7307B
triadic
#C730C7 #C7C730 #30C7C7
tetradic
#C730C7 #C77B30 #30C730 #307BC7
square
#C730C7 #C77B30 #30C730 #307BC7
split-complementary
#C730C7 #7BC730 #30C77B
monochromatic
#641864 #962496 #C730C7 #D85CD8 #E48EE4

Accessibility & contrast

On white

4.49
#C730C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#C730C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C730C7
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C730C7#FFFFFF#000000##000000
##C730C71.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#046ACB
Deuteranopia (green-blind)
#5B7EC3
Tritanopia (blue-blind)
#CD497B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c730c7;
/* rgb */ color: rgb(199, 48, 199);
/* oklch */ color: oklch(60.1% 0.243 328.1);
Tailwind
colors: {
  custom: {
    50: '#dc79d8',
    500: '#c730c7',
    950: '#000000',
  },
}
SCSS
$custom: #c730c7;
$custom-light: #dc79d8;
$custom-dark: #000000;
JSON
{
  "hex": "#c730c7",
  "rgb": {
    "r": 199,
    "g": 48,
    "b": 199
  },
  "hsl": {
    "h": 300,
    "s": 61.134,
    "l": 48.431
  },
  "oklch": {
    "l": 0.60077,
    "c": 0.2427,
    "h": 328.1
  },
  "luminance": 0.1838
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C730C7

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

Preview Lab → · Contrast checker → · Palette generator →

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