#C138B7#C138B7

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

Color values

HEX#C138B7
RGBrgb(193, 56, 183)
HSLhsl(304, 55%, 49%)
HSVhsv(304, 71%, 76%)
CMYKcmyk(0%, 71%, 5.2%, 24.3%)
CIE-LABlab(48.99, 67.53, -38.56)
CIE-LCHlch(48.99, 77.77, 330.27°)
OKLaboklab(58.92% 0.1926 -0.1062)
OKLCHoklch(58.92% 0.22 331.1)
XYZxyz(31.9537, 17.5872, 46.5023)
Luminance0.1759 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C138B7 #38C142
analogous
#8738C1 #C138B7 #C13873
triadic
#C138B7 #B7C138 #38B7C1
tetradic
#C138B7 #C18738 #38C142 #3873C1
square
#C138B7 #C18738 #38C142 #3873C1
split-complementary
#C138B7 #73C138 #38C187
monochromatic
#621C5D #922A8A #C138B7 #D264CA #E094DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C138B7#FFFFFF#000000##FFFFFF
##C138B71.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)
#2D68BB
Deuteranopia (green-blind)
#627BB4
Tritanopia (blue-blind)
#C94874
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c138b7;
/* rgb */ color: rgb(193, 56, 183);
/* oklch */ color: oklch(58.9% 0.220 331.1);
Tailwind
colors: {
  custom: {
    50: '#d77bcd',
    500: '#c138b7',
    950: '#000000',
  },
}
SCSS
$custom: #c138b7;
$custom-light: #d77bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#c138b7",
  "rgb": {
    "r": 193,
    "g": 56,
    "b": 183
  },
  "hsl": {
    "h": 304.38,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58922,
    "c": 0.2199,
    "h": 331.1
  },
  "luminance": 0.17585
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C138B7

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

Preview Lab → · Contrast checker → · Palette generator →

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