#C730B5#C730B5

#C730B5 is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 59.1% C 0.230 H 333.6°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#C730B5
RGBrgb(199, 48, 181)
HSLhsl(307, 61%, 48%)
HSVhsv(307, 76%, 78%)
CMYKcmyk(0%, 75.9%, 9%, 22%)
CIE-LABlab(49.00, 71.07, -37.31)
CIE-LCHlch(49.00, 80.27, 332.30°)
OKLaboklab(59.09% 0.2058 -0.1024)
OKLCHoklch(59.09% 0.23 333.6)
XYZxyz(32.9509, 17.5951, 45.3679)
Luminance0.1759 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C730B5 #30C742
analogous
#8D30C7 #C730B5 #C73069
triadic
#C730B5 #B5C730 #30B5C7
tetradic
#C730B5 #C78D30 #30C742 #3069C7
square
#C730B5 #C78D30 #30C742 #3069C7
split-complementary
#C730B5 #69C730 #30C78D
monochromatic
#64185B #962488 #C730B5 #D85CC9 #E48ED9

Accessibility & contrast

On white

4.65
#C730B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#C730B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C730B5
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C730B5#FFFFFF#000000##FFFFFF
##C730B51.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A67B9
Deuteranopia (green-blind)
#657CB1
Tritanopia (blue-blind)
#D04070
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c730b5;
/* rgb */ color: rgb(199, 48, 181);
/* oklch */ color: oklch(59.1% 0.230 333.6);
Tailwind
colors: {
  custom: {
    50: '#dc79cb',
    500: '#c730b5',
    950: '#000000',
  },
}
SCSS
$custom: #c730b5;
$custom-light: #dc79cb;
$custom-dark: #000000;
JSON
{
  "hex": "#c730b5",
  "rgb": {
    "r": 199,
    "g": 48,
    "b": 181
  },
  "hsl": {
    "h": 307.152,
    "s": 61.134,
    "l": 48.431
  },
  "oklch": {
    "l": 0.59085,
    "c": 0.22987,
    "h": 333.6
  },
  "luminance": 0.17592
}

Semantic roles & 50–950 ramp

primary
#C730B5
secondary
#85CE8E
accent
#E45744
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #C730B5

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

Preview Lab → · Contrast checker → · Palette generator →

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