#C138B6#C138B6

#C138B6 is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 58.9% C 0.219 H 331.5°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#C138B6
RGBrgb(193, 56, 182)
HSLhsl(305, 55%, 49%)
HSVhsv(305, 71%, 76%)
CMYKcmyk(0%, 71%, 5.7%, 24.3%)
CIE-LABlab(48.94, 67.38, -38.06)
CIE-LCHlch(48.94, 77.38, 330.54°)
OKLaboklab(58.87% 0.1925 -0.1047)
OKLCHoklch(58.87% 0.219 331.5)
XYZxyz(31.8500, 17.5457, 45.9561)
Luminance0.1754 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C138B6 #38C143
analogous
#8838C1 #C138B6 #C13872
triadic
#C138B6 #B6C138 #38B6C1
tetradic
#C138B6 #C18838 #38C143 #3872C1
square
#C138B6 #C18838 #38C143 #3872C1
split-complementary
#C138B6 #72C138 #38C188
monochromatic
#621C5D #922A89 #C138B6 #D264C9 #E094DA

Accessibility & contrast

On white

4.66
#C138B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#C138B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C138B6
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C138B6#FFFFFF#000000##FFFFFF
##C138B61.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E68BA
Deuteranopia (green-blind)
#627BB3
Tritanopia (blue-blind)
#C94873
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c138b6;
/* rgb */ color: rgb(193, 56, 182);
/* oklch */ color: oklch(58.9% 0.219 331.5);
Tailwind
colors: {
  custom: {
    50: '#d77bcc',
    500: '#c138b6',
    950: '#000000',
  },
}
SCSS
$custom: #c138b6;
$custom-light: #d77bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#c138b6",
  "rgb": {
    "r": 193,
    "g": 56,
    "b": 182
  },
  "hsl": {
    "h": 304.818,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58869,
    "c": 0.21916,
    "h": 331.5
  },
  "luminance": 0.17543
}

Semantic roles & 50–950 ramp

primary
#C138B6
secondary
#8ACB8F
accent
#DE5549
background
#FDF8FC
surface
#FBEFF9
border
#D4CAD2
text
#150A13
muted
#837C82

Preview Lab

Preview with #C138B6

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

Preview Lab → · Contrast checker → · Palette generator →

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