#C138BE#C138BE

#C138BE is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.3% C 0.225 H 328.9°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#C138BE
RGBrgb(193, 56, 190)
HSLhsl(301, 55%, 49%)
HSVhsv(301, 71%, 76%)
CMYKcmyk(0%, 71%, 1.6%, 24.3%)
CIE-LABlab(49.36, 68.64, -42.06)
CIE-LCHlch(49.36, 80.50, 328.50°)
OKLaboklab(59.3% 0.1928 -0.1163)
OKLCHoklch(59.3% 0.225 328.9)
XYZxyz(32.7005, 17.8859, 50.4352)
Luminance0.1788 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C138BE #38C13B
analogous
#8038C1 #C138BE #C1387A
triadic
#C138BE #BEC138 #38BEC1
tetradic
#C138BE #C18038 #38C13B #387AC1
square
#C138BE #C18038 #38C13B #387AC1
split-complementary
#C138BE #7AC138 #38C180
monochromatic
#621C61 #922A8F #C138BE #D264D0 #E094DE

Accessibility & contrast

On white

4.59
#C138BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#C138BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C138BE
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C138BE#FFFFFF#000000##FFFFFF
##C138BE1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#246AC2
Deuteranopia (green-blind)
#5E7CBB
Tritanopia (blue-blind)
#C84B78
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c138be;
/* rgb */ color: rgb(193, 56, 190);
/* oklch */ color: oklch(59.3% 0.225 328.9);
Tailwind
colors: {
  custom: {
    50: '#d87cd2',
    500: '#c138be',
    950: '#000000',
  },
}
SCSS
$custom: #c138be;
$custom-light: #d87cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#c138be",
  "rgb": {
    "r": 193,
    "g": 56,
    "b": 190
  },
  "hsl": {
    "h": 301.314,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.59304,
    "c": 0.22516,
    "h": 328.9
  },
  "luminance": 0.17884
}

Semantic roles & 50–950 ramp

primary
#C138BE
secondary
#8ACB8B
accent
#DE4D49
background
#FDF8FC
surface
#FBEFF9
border
#D4CAD2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C138BE

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

Preview Lab → · Contrast checker → · Palette generator →

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