#C13AB2#C13AB2

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

Color values

HEX#C13AB2
RGBrgb(193, 58, 178)
HSLhsl(307, 54%, 49%)
HSVhsv(307, 70%, 76%)
CMYKcmyk(0%, 69.9%, 7.8%, 24.3%)
CIE-LABlab(48.98, 66.07, -35.65)
CIE-LCHlch(48.98, 75.07, 331.65°)
OKLaboklab(58.84% 0.1903 -0.0978)
OKLCHoklch(58.84% 0.214 332.8)
XYZxyz(31.5414, 17.5805, 43.8430)
Luminance0.1758 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C13AB2 #3AC149
analogous
#8D3AC1 #C13AB2 #C13A6E
triadic
#C13AB2 #B2C13A #3AB2C1
tetradic
#C13AB2 #C18D3A #3AC149 #3A6EC1
square
#C13AB2 #C18D3A #3AC149 #3A6EC1
split-complementary
#C13AB2 #6EC13A #3AC18D
monochromatic
#631E5B #922C87 #C13AB2 #D167C5 #DF96D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C13AB2#FFFFFF#000000##FFFFFF
##C13AB21.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)
#3468B5
Deuteranopia (green-blind)
#657BAF
Tritanopia (blue-blind)
#C94772
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c13ab2;
/* rgb */ color: rgb(193, 58, 178);
/* oklch */ color: oklch(58.8% 0.214 332.8);
Tailwind
colors: {
  custom: {
    50: '#d77cc9',
    500: '#c13ab2',
    950: '#000000',
  },
}
SCSS
$custom: #c13ab2;
$custom-light: #d77cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#c13ab2",
  "rgb": {
    "r": 193,
    "g": 58,
    "b": 178
  },
  "hsl": {
    "h": 306.667,
    "s": 53.785,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58835,
    "c": 0.21392,
    "h": 332.8
  },
  "luminance": 0.17578
}

Semantic roles & 50–950 ramp

primary
#C13AB2
secondary
#8CCB93
accent
#DD5B4B
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C13AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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