#C730B7#C730B7

#C730B7 is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 59.2% C 0.231 H 332.9°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#C730B7
RGBrgb(199, 48, 183)
HSLhsl(306, 61%, 48%)
HSVhsv(306, 76%, 78%)
CMYKcmyk(0%, 75.9%, 8%, 22%)
CIE-LABlab(49.10, 71.36, -38.32)
CIE-LCHlch(49.10, 81.00, 331.77°)
OKLaboklab(59.19% 0.2059 -0.1053)
OKLCHoklch(59.19% 0.231 332.9)
XYZxyz(33.1576, 17.6778, 46.4564)
Luminance0.1767 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C730B7 #30C740
analogous
#8B30C7 #C730B7 #C7306B
triadic
#C730B7 #B7C730 #30B7C7
tetradic
#C730B7 #C78B30 #30C740 #306BC7
square
#C730B7 #C78B30 #30C740 #306BC7
split-complementary
#C730B7 #6BC730 #30C78B
monochromatic
#64185C #96248A #C730B7 #D85CCB #E48EDB

Accessibility & contrast

On white

4.63
#C730B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#C730B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C730B7
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C730B7#FFFFFF#000000##FFFFFF
##C730B71.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2867BB
Deuteranopia (green-blind)
#647CB3
Tritanopia (blue-blind)
#D04172
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c730b7;
/* rgb */ color: rgb(199, 48, 183);
/* oklch */ color: oklch(59.2% 0.231 332.9);
Tailwind
colors: {
  custom: {
    50: '#dc79cd',
    500: '#c730b7',
    950: '#000000',
  },
}
SCSS
$custom: #c730b7;
$custom-light: #dc79cd;
$custom-dark: #000000;
JSON
{
  "hex": "#c730b7",
  "rgb": {
    "r": 199,
    "g": 48,
    "b": 183
  },
  "hsl": {
    "h": 306.358,
    "s": 61.134,
    "l": 48.431
  },
  "oklch": {
    "l": 0.59191,
    "c": 0.23126,
    "h": 332.9
  },
  "luminance": 0.17675
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C730B7

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

Preview Lab → · Contrast checker → · Palette generator →

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