#C130B3#C130B3

#C130B3 is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 58.1% C 0.225 H 332.4°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#C130B3
RGBrgb(193, 48, 179)
HSLhsl(306, 60%, 47%)
HSVhsv(306, 75%, 76%)
CMYKcmyk(0%, 75.1%, 7.3%, 24.3%)
CIE-LABlab(47.89, 69.47, -37.95)
CIE-LCHlch(47.89, 79.16, 331.35°)
OKLaboklab(58.07% 0.1998 -0.1043)
OKLCHoklch(58.07% 0.225 332.4)
XYZxyz(31.1861, 16.7087, 44.2217)
Luminance0.1671 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C130B3 #30C13E
analogous
#8730C1 #C130B3 #C1306B
triadic
#C130B3 #B3C130 #30B3C1
tetradic
#C130B3 #C18730 #30C13E #306BC1
square
#C130B3 #C18730 #30C13E #306BC1
split-complementary
#C130B3 #6BC130 #30C187
monochromatic
#5F1858 #902486 #C130B3 #D659CA #E28AD9

Accessibility & contrast

On white

4.84
#C130B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#C130B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C130B3
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C130B3#FFFFFF#000000##FFFFFF
##C130B31.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2765B7
Deuteranopia (green-blind)
#6179B0
Tritanopia (blue-blind)
#C9416F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c130b3;
/* rgb */ color: rgb(193, 48, 179);
/* oklch */ color: oklch(58.1% 0.225 332.4);
Tailwind
colors: {
  custom: {
    50: '#d878ca',
    500: '#c130b3',
    950: '#000000',
  },
}
SCSS
$custom: #c130b3;
$custom-light: #d878ca;
$custom-dark: #000000;
JSON
{
  "hex": "#c130b3",
  "rgb": {
    "r": 193,
    "g": 48,
    "b": 179
  },
  "hsl": {
    "h": 305.793,
    "s": 60.166,
    "l": 47.255
  },
  "oklch": {
    "l": 0.58065,
    "c": 0.22542,
    "h": 332.4
  },
  "luminance": 0.16706
}

Semantic roles & 50–950 ramp

primary
#C130B3
secondary
#81CC88
accent
#E35444
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C130B3

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

Preview Lab → · Contrast checker → · Palette generator →

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