#C138BD#C138BD

#C138BD is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 59.2% C 0.224 H 329.2°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#C138BD
RGBrgb(193, 56, 189)
HSLhsl(302, 55%, 49%)
HSVhsv(302, 71%, 76%)
CMYKcmyk(0%, 71%, 2.1%, 24.3%)
CIE-LABlab(49.30, 68.48, -41.56)
CIE-LCHlch(49.30, 80.11, 328.74°)
OKLaboklab(59.25% 0.1928 -0.1148)
OKLCHoklch(59.25% 0.224 329.2)
XYZxyz(32.5915, 17.8424, 49.8616)
Luminance0.1784 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C138BD #38C13C
analogous
#8138C1 #C138BD #C13879
triadic
#C138BD #BDC138 #38BDC1
tetradic
#C138BD #C18138 #38C13C #3879C1
square
#C138BD #C18138 #38C13C #3879C1
split-complementary
#C138BD #79C138 #38C181
monochromatic
#621C60 #922A8F #C138BD #D264CF #E094DE

Accessibility & contrast

On white

4.60
#C138BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#C138BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C138BD
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C138BD#FFFFFF#000000##FFFFFF
##C138BD1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2569C1
Deuteranopia (green-blind)
#5F7CBA
Tritanopia (blue-blind)
#C84B77
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c138bd;
/* rgb */ color: rgb(193, 56, 189);
/* oklch */ color: oklch(59.2% 0.224 329.2);
Tailwind
colors: {
  custom: {
    50: '#d77cd1',
    500: '#c138bd',
    950: '#000000',
  },
}
SCSS
$custom: #c138bd;
$custom-light: #d77cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#c138bd",
  "rgb": {
    "r": 193,
    "g": 56,
    "b": 189
  },
  "hsl": {
    "h": 301.752,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.59248,
    "c": 0.2244,
    "h": 329.2
  },
  "luminance": 0.1784
}

Semantic roles & 50–950 ramp

primary
#C138BD
secondary
#8ACB8C
accent
#DE4E49
background
#FDF8FC
surface
#FBEFF9
border
#D4CAD2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C138BD

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

Preview Lab → · Contrast checker → · Palette generator →

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