#C138B2#C138B2

#C138B2 is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 58.7% C 0.216 H 332.8°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#C138B2
RGBrgb(193, 56, 178)
HSLhsl(307, 55%, 49%)
HSVhsv(307, 71%, 76%)
CMYKcmyk(0%, 71%, 7.8%, 24.3%)
CIE-LABlab(48.74, 66.76, -36.03)
CIE-LCHlch(48.74, 75.86, 331.64°)
OKLaboklab(58.66% 0.1923 -0.0989)
OKLCHoklch(58.66% 0.216 332.8)
XYZxyz(31.4425, 17.3827, 43.8100)
Luminance0.1738 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C138B2 #38C147
analogous
#8C38C1 #C138B2 #C1386E
triadic
#C138B2 #B2C138 #38B2C1
tetradic
#C138B2 #C18C38 #38C147 #386EC1
square
#C138B2 #C18C38 #38C147 #386EC1
split-complementary
#C138B2 #6EC138 #38C18C
monochromatic
#621C5B #922A86 #C138B2 #D264C6 #E094D7

Accessibility & contrast

On white

4.69
#C138B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#C138B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C138B2
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C138B2#FFFFFF#000000##FFFFFF
##C138B21.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3267B5
Deuteranopia (green-blind)
#647BAF
Tritanopia (blue-blind)
#C94671
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c138b2;
/* rgb */ color: rgb(193, 56, 178);
/* oklch */ color: oklch(58.7% 0.216 332.8);
Tailwind
colors: {
  custom: {
    50: '#d77bc9',
    500: '#c138b2',
    950: '#000000',
  },
}
SCSS
$custom: #c138b2;
$custom-light: #d77bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#c138b2",
  "rgb": {
    "r": 193,
    "g": 56,
    "b": 178
  },
  "hsl": {
    "h": 306.569,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58658,
    "c": 0.21622,
    "h": 332.8
  },
  "luminance": 0.1738
}

Semantic roles & 50–950 ramp

primary
#C138B2
secondary
#8ACB91
accent
#DE5A49
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C138B2

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

Preview Lab → · Contrast checker → · Palette generator →

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