#C138BB#C138BB

#C138BB is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 59.1% C 0.223 H 329.8°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#C138BB
RGBrgb(193, 56, 187)
HSLhsl(303, 55%, 49%)
HSVhsv(303, 71%, 76%)
CMYKcmyk(0%, 71%, 3.1%, 24.3%)
CIE-LABlab(49.20, 68.16, -40.57)
CIE-LCHlch(49.20, 79.32, 329.24°)
OKLaboklab(59.14% 0.1927 -0.112)
OKLCHoklch(59.14% 0.223 329.8)
XYZxyz(32.3759, 17.7561, 48.7261)
Luminance0.1775 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C138BB #38C13E
analogous
#8338C1 #C138BB #C13877
triadic
#C138BB #BBC138 #38BBC1
tetradic
#C138BB #C18338 #38C13E #3877C1
square
#C138BB #C18338 #38C13E #3877C1
split-complementary
#C138BB #77C138 #38C183
monochromatic
#621C5F #922A8D #C138BB #D264CD #E094DC

Accessibility & contrast

On white

4.61
#C138BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#C138BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C138BB
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C138BB#FFFFFF#000000##FFFFFF
##C138BB1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2869BF
Deuteranopia (green-blind)
#607BB8
Tritanopia (blue-blind)
#C84A76
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c138bb;
/* rgb */ color: rgb(193, 56, 187);
/* oklch */ color: oklch(59.1% 0.223 329.8);
Tailwind
colors: {
  custom: {
    50: '#d77bd0',
    500: '#c138bb',
    950: '#000000',
  },
}
SCSS
$custom: #c138bb;
$custom-light: #d77bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#c138bb",
  "rgb": {
    "r": 193,
    "g": 56,
    "b": 187
  },
  "hsl": {
    "h": 302.628,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.59139,
    "c": 0.22289,
    "h": 329.8
  },
  "luminance": 0.17754
}

Semantic roles & 50–950 ramp

primary
#C138BB
secondary
#8ACB8D
accent
#DE5049
background
#FDF8FC
surface
#FBEFF9
border
#D4CAD2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C138BB

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

Preview Lab → · Contrast checker → · Palette generator →

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