#C730B8#C730B8

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

Color values

HEX#C730B8
RGBrgb(199, 48, 184)
HSLhsl(306, 61%, 48%)
HSVhsv(306, 76%, 78%)
CMYKcmyk(0%, 75.9%, 7.5%, 22%)
CIE-LABlab(49.15, 71.51, -38.82)
CIE-LCHlch(49.15, 81.37, 331.50°)
OKLaboklab(59.25% 0.2059 -0.1067)
OKLCHoklch(59.25% 0.232 332.6)
XYZxyz(33.2620, 17.7195, 47.0065)
Luminance0.1772 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C730B8 #30C73F
analogous
#8A30C7 #C730B8 #C7306C
triadic
#C730B8 #B8C730 #30B8C7
tetradic
#C730B8 #C78A30 #30C73F #306CC7
square
#C730B8 #C78A30 #30C73F #306CC7
split-complementary
#C730B8 #6CC730 #30C78A
monochromatic
#64185D #96248A #C730B8 #D85CCC #E48EDB

Accessibility & contrast

On white

4.62
#C730B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C730B8
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C730B8#FFFFFF#000000##FFFFFF
##C730B81.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2767BC
Deuteranopia (green-blind)
#637CB4
Tritanopia (blue-blind)
#D04172
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c730b8;
/* rgb */ color: rgb(199, 48, 184);
/* oklch */ color: oklch(59.2% 0.232 332.6);
Tailwind
colors: {
  custom: {
    50: '#dc79ce',
    500: '#c730b8',
    950: '#000000',
  },
}
SCSS
$custom: #c730b8;
$custom-light: #dc79ce;
$custom-dark: #000000;
JSON
{
  "hex": "#c730b8",
  "rgb": {
    "r": 199,
    "g": 48,
    "b": 184
  },
  "hsl": {
    "h": 305.96,
    "s": 61.134,
    "l": 48.431
  },
  "oklch": {
    "l": 0.59245,
    "c": 0.23195,
    "h": 332.6
  },
  "luminance": 0.17717
}

Semantic roles & 50–950 ramp

primary
#C730B8
secondary
#85CE8C
accent
#E45444
background
#FEF7FC
surface
#FCEEF9
border
#D5C9D2
text
#160A13
muted
#847C82

Preview Lab

Preview with #C730B8

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

Preview Lab → · Contrast checker → · Palette generator →

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