#C130B7#C130B7

#C130B7 is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.3% C 0.228 H 331.1°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#C130B7
RGBrgb(193, 48, 183)
HSLhsl(304, 60%, 47%)
HSVhsv(304, 75%, 76%)
CMYKcmyk(0%, 75.1%, 5.2%, 24.3%)
CIE-LABlab(48.10, 70.08, -39.97)
CIE-LCHlch(48.10, 80.67, 330.30°)
OKLaboklab(58.28% 0.1999 -0.1102)
OKLCHoklch(58.28% 0.228 331.1)
XYZxyz(31.5965, 16.8728, 46.3832)
Luminance0.1687 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C130B7 #30C13A
analogous
#8330C1 #C130B7 #C1306F
triadic
#C130B7 #B7C130 #30B7C1
tetradic
#C130B7 #C18330 #30C13A #306FC1
square
#C130B7 #C18330 #30C13A #306FC1
split-complementary
#C130B7 #6FC130 #30C183
monochromatic
#5F185A #902489 #C130B7 #D659CD #E28ADC

Accessibility & contrast

On white

4.80
#C130B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#C130B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C130B7
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C130B7#FFFFFF#000000##FFFFFF
##C130B71.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2165BB
Deuteranopia (green-blind)
#5F79B4
Tritanopia (blue-blind)
#C94372
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c130b7;
/* rgb */ color: rgb(193, 48, 183);
/* oklch */ color: oklch(58.3% 0.228 331.1);
Tailwind
colors: {
  custom: {
    50: '#d878cd',
    500: '#c130b7',
    950: '#000000',
  },
}
SCSS
$custom: #c130b7;
$custom-light: #d878cd;
$custom-dark: #000000;
JSON
{
  "hex": "#c130b7",
  "rgb": {
    "r": 193,
    "g": 48,
    "b": 183
  },
  "hsl": {
    "h": 304.138,
    "s": 60.166,
    "l": 47.255
  },
  "oklch": {
    "l": 0.58282,
    "c": 0.22828,
    "h": 331.1
  },
  "luminance": 0.1687
}

Semantic roles & 50–950 ramp

primary
#C130B7
secondary
#81CC86
accent
#E34F44
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #C130B7

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

Preview Lab → · Contrast checker → · Palette generator →

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