#C138AB#C138AB

#C138AB is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.3% C 0.211 H 335.2°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#C138AB
RGBrgb(193, 56, 171)
HSLhsl(310, 55%, 49%)
HSVhsv(310, 71%, 76%)
CMYKcmyk(0%, 71%, 11.4%, 24.3%)
CIE-LABlab(48.40, 65.70, -32.45)
CIE-LCHlch(48.40, 73.28, 333.71°)
OKLaboklab(58.3% 0.1917 -0.0886)
OKLCHoklch(58.3% 0.211 335.2)
XYZxyz(30.7575, 17.1088, 40.2026)
Luminance0.1711 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C138AB #38C14E
analogous
#9338C1 #C138AB #C13867
triadic
#C138AB #ABC138 #38ABC1
tetradic
#C138AB #C19338 #38C14E #3867C1
square
#C138AB #C19338 #38C14E #3867C1
split-complementary
#C138AB #67C138 #38C193
monochromatic
#621C57 #922A81 #C138AB #D264C0 #E094D4

Accessibility & contrast

On white

4.75
#C138AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#C138AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C138AB
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C138AB#FFFFFF#000000##FFFFFF
##C138AB1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3866AE
Deuteranopia (green-blind)
#687AA8
Tritanopia (blue-blind)
#CA426D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c138ab;
/* rgb */ color: rgb(193, 56, 171);
/* oklch */ color: oklch(58.3% 0.211 335.2);
Tailwind
colors: {
  custom: {
    50: '#d77bc4',
    500: '#c138ab',
    950: '#000000',
  },
}
SCSS
$custom: #c138ab;
$custom-light: #d77bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#c138ab",
  "rgb": {
    "r": 193,
    "g": 56,
    "b": 171
  },
  "hsl": {
    "h": 309.635,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.583,
    "c": 0.21119,
    "h": 335.2
  },
  "luminance": 0.17106
}

Semantic roles & 50–950 ramp

primary
#C138AB
secondary
#8ACB94
accent
#DE6149
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A12
muted
#837C81

Preview Lab

Preview with #C138AB

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

Preview Lab → · Contrast checker → · Palette generator →

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