#C138AC#C138AC

#C138AC is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.4% C 0.212 H 334.8°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#C138AC
RGBrgb(193, 56, 172)
HSLhsl(309, 55%, 49%)
HSVhsv(309, 71%, 76%)
CMYKcmyk(0%, 71%, 10.9%, 24.3%)
CIE-LABlab(48.44, 65.85, -32.97)
CIE-LCHlch(48.44, 73.64, 333.41°)
OKLaboklab(58.35% 0.1918 -0.0901)
OKLCHoklch(58.35% 0.212 334.8)
XYZxyz(30.8532, 17.1470, 40.7065)
Luminance0.1714 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C138AC #38C14D
analogous
#9238C1 #C138AC #C13868
triadic
#C138AC #ACC138 #38ACC1
tetradic
#C138AC #C19238 #38C14D #3868C1
square
#C138AC #C19238 #38C14D #3868C1
split-complementary
#C138AC #68C138 #38C192
monochromatic
#621C57 #922A82 #C138AC #D264C1 #E094D4

Accessibility & contrast

On white

4.74
#C138AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#C138AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C138AC
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C138AC#FFFFFF#000000##FFFFFF
##C138AC1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3766AF
Deuteranopia (green-blind)
#677AA9
Tritanopia (blue-blind)
#CA436E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c138ac;
/* rgb */ color: rgb(193, 56, 172);
/* oklch */ color: oklch(58.4% 0.212 334.8);
Tailwind
colors: {
  custom: {
    50: '#d77bc5',
    500: '#c138ac',
    950: '#000000',
  },
}
SCSS
$custom: #c138ac;
$custom-light: #d77bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#c138ac",
  "rgb": {
    "r": 193,
    "g": 56,
    "b": 172
  },
  "hsl": {
    "h": 309.197,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58351,
    "c": 0.21191,
    "h": 334.8
  },
  "luminance": 0.17144
}

Semantic roles & 50–950 ramp

primary
#C138AC
secondary
#8ACB94
accent
#DE6049
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C138AC

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

Preview Lab → · Contrast checker → · Palette generator →

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