#C730C2#C730C2

#C730C2 is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.8% C 0.239 H 329.5°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#C730C2
RGBrgb(199, 48, 194)
HSLhsl(302, 61%, 48%)
HSVhsv(302, 76%, 78%)
CMYKcmyk(0%, 75.9%, 2.5%, 22%)
CIE-LABlab(49.68, 73.03, -43.81)
CIE-LCHlch(49.68, 85.16, 329.04°)
OKLaboklab(59.79% 0.2061 -0.1212)
OKLCHoklch(59.79% 0.239 329.5)
XYZxyz(34.3475, 18.1537, 52.7235)
Luminance0.1815 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C730C2 #30C735
analogous
#8030C7 #C730C2 #C73076
triadic
#C730C2 #C2C730 #30C2C7
tetradic
#C730C2 #C78030 #30C735 #3076C7
square
#C730C2 #C78030 #30C735 #3076C7
split-complementary
#C730C2 #76C730 #30C780
monochromatic
#641862 #962492 #C730C2 #D85CD4 #E48EE1

Accessibility & contrast

On white

4.54
#C730C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#C730C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C730C2
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C730C2#FFFFFF#000000##000000
##C730C21.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1569C6
Deuteranopia (green-blind)
#5E7DBE
Tritanopia (blue-blind)
#CE4778
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c730c2;
/* rgb */ color: rgb(199, 48, 194);
/* oklch */ color: oklch(59.8% 0.239 329.5);
Tailwind
colors: {
  custom: {
    50: '#dc79d5',
    500: '#c730c2',
    950: '#000000',
  },
}
SCSS
$custom: #c730c2;
$custom-light: #dc79d5;
$custom-dark: #000000;
JSON
{
  "hex": "#c730c2",
  "rgb": {
    "r": 199,
    "g": 48,
    "b": 194
  },
  "hsl": {
    "h": 301.987,
    "s": 61.134,
    "l": 48.431
  },
  "oklch": {
    "l": 0.59793,
    "c": 0.23907,
    "h": 329.5
  },
  "luminance": 0.18151
}

Semantic roles & 50–950 ramp

primary
#C730C2
secondary
#85CE87
accent
#E44944
background
#FEF7FD
surface
#FCEEFA
border
#D5C9D3
text
#160A14
muted
#847C83

Preview Lab

Preview with #C730C2

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

Preview Lab → · Contrast checker → · Palette generator →

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