#C730B3#C730B3

#C730B3 is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 59.0% C 0.228 H 334.2°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#C730B3
RGBrgb(199, 48, 179)
HSLhsl(308, 61%, 48%)
HSVhsv(308, 76%, 78%)
CMYKcmyk(0%, 75.9%, 10.1%, 22%)
CIE-LABlab(48.90, 70.78, -36.30)
CIE-LCHlch(48.90, 79.54, 332.85°)
OKLaboklab(58.98% 0.2057 -0.0994)
OKLCHoklch(58.98% 0.228 334.2)
XYZxyz(32.7472, 17.5136, 44.2949)
Luminance0.1751 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C730B3 #30C744
analogous
#8F30C7 #C730B3 #C73067
triadic
#C730B3 #B3C730 #30B3C7
tetradic
#C730B3 #C78F30 #30C744 #3067C7
square
#C730B3 #C78F30 #30C744 #3067C7
split-complementary
#C730B3 #67C730 #30C78F
monochromatic
#64185A #962487 #C730B3 #D85CC7 #E48ED8

Accessibility & contrast

On white

4.66
#C730B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#C730B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C730B3
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C730B3#FFFFFF#000000##FFFFFF
##C730B31.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D66B6
Deuteranopia (green-blind)
#667CAF
Tritanopia (blue-blind)
#D13F6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c730b3;
/* rgb */ color: rgb(199, 48, 179);
/* oklch */ color: oklch(59.0% 0.228 334.2);
Tailwind
colors: {
  custom: {
    50: '#dc79ca',
    500: '#c730b3',
    950: '#000000',
  },
}
SCSS
$custom: #c730b3;
$custom-light: #dc79ca;
$custom-dark: #000000;
JSON
{
  "hex": "#c730b3",
  "rgb": {
    "r": 199,
    "g": 48,
    "b": 179
  },
  "hsl": {
    "h": 307.947,
    "s": 61.134,
    "l": 48.431
  },
  "oklch": {
    "l": 0.58981,
    "c": 0.22849,
    "h": 334.2
  },
  "luminance": 0.17511
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C730B3

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

Preview Lab → · Contrast checker → · Palette generator →

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