#C138BF#C138BF

#C138BF is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.4% C 0.226 H 328.6°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#C138BF
RGBrgb(193, 56, 191)
HSLhsl(301, 55%, 49%)
HSVhsv(301, 71%, 76%)
CMYKcmyk(0%, 71%, 1%, 24.3%)
CIE-LABlab(49.41, 68.80, -42.56)
CIE-LCHlch(49.41, 80.90, 328.26°)
OKLaboklab(59.36% 0.1928 -0.1177)
OKLCHoklch(59.36% 0.226 328.6)
XYZxyz(32.8101, 17.9298, 51.0128)
Luminance0.1793 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C138BF #38C13A
analogous
#7F38C1 #C138BF #C1387B
triadic
#C138BF #BFC138 #38BFC1
tetradic
#C138BF #C17F38 #38C13A #387BC1
square
#C138BF #C17F38 #38C13A #387BC1
split-complementary
#C138BF #7BC138 #38C17F
monochromatic
#621C61 #922A90 #C138BF #D264D0 #E094DF

Accessibility & contrast

On white

4.58
#C138BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#C138BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C138BF
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C138BF#FFFFFF#000000##000000
##C138BF1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#226AC3
Deuteranopia (green-blind)
#5E7CBC
Tritanopia (blue-blind)
#C74C78
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c138bf;
/* rgb */ color: rgb(193, 56, 191);
/* oklch */ color: oklch(59.4% 0.226 328.6);
Tailwind
colors: {
  custom: {
    50: '#d87cd3',
    500: '#c138bf',
    950: '#000000',
  },
}
SCSS
$custom: #c138bf;
$custom-light: #d87cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#c138bf",
  "rgb": {
    "r": 193,
    "g": 56,
    "b": 191
  },
  "hsl": {
    "h": 300.876,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.59359,
    "c": 0.22591,
    "h": 328.6
  },
  "luminance": 0.17927
}

Semantic roles & 50–950 ramp

primary
#C138BF
secondary
#8ACB8B
accent
#DE4C49
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150A14
muted
#837C83

Preview Lab

Preview with #C138BF

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

Preview Lab → · Contrast checker → · Palette generator →

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