#C138AE#C138AE

#C138AE is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.5% C 0.213 H 334.2°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#C138AE
RGBrgb(193, 56, 174)
HSLhsl(308, 55%, 49%)
HSVhsv(308, 71%, 76%)
CMYKcmyk(0%, 71%, 9.8%, 24.3%)
CIE-LABlab(48.54, 66.15, -33.99)
CIE-LCHlch(48.54, 74.37, 332.80°)
OKLaboklab(58.45% 0.192 -0.093)
OKLCHoklch(58.45% 0.213 334.2)
XYZxyz(31.0467, 17.2244, 41.7257)
Luminance0.1722 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C138AE #38C14B
analogous
#9038C1 #C138AE #C1386A
triadic
#C138AE #AEC138 #38AEC1
tetradic
#C138AE #C19038 #38C14B #386AC1
square
#C138AE #C19038 #38C14B #386AC1
split-complementary
#C138AE #6AC138 #38C190
monochromatic
#621C58 #922A83 #C138AE #D264C3 #E094D5

Accessibility & contrast

On white

4.73
#C138AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#C138AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C138AE
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C138AE#FFFFFF#000000##FFFFFF
##C138AE1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3566B1
Deuteranopia (green-blind)
#667AAB
Tritanopia (blue-blind)
#CA446F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c138ae;
/* rgb */ color: rgb(193, 56, 174);
/* oklch */ color: oklch(58.5% 0.213 334.2);
Tailwind
colors: {
  custom: {
    50: '#d77bc6',
    500: '#c138ae',
    950: '#000000',
  },
}
SCSS
$custom: #c138ae;
$custom-light: #d77bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#c138ae",
  "rgb": {
    "r": 193,
    "g": 56,
    "b": 174
  },
  "hsl": {
    "h": 308.321,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58452,
    "c": 0.21333,
    "h": 334.2
  },
  "luminance": 0.17222
}

Semantic roles & 50–950 ramp

primary
#C138AE
secondary
#8ACB93
accent
#DE5E49
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C138AE

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

Preview Lab → · Contrast checker → · Palette generator →

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