#C138AD#C138AD

#C138AD is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.4% C 0.213 H 334.5°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#C138AD
RGBrgb(193, 56, 173)
HSLhsl(309, 55%, 49%)
HSVhsv(309, 71%, 76%)
CMYKcmyk(0%, 71%, 10.4%, 24.3%)
CIE-LABlab(48.49, 66.00, -33.48)
CIE-LCHlch(48.49, 74.01, 333.10°)
OKLaboklab(58.4% 0.1919 -0.0915)
OKLCHoklch(58.4% 0.213 334.5)
XYZxyz(30.9496, 17.1856, 41.2142)
Luminance0.1718 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C138AD #38C14C
analogous
#9138C1 #C138AD #C13869
triadic
#C138AD #ADC138 #38ADC1
tetradic
#C138AD #C19138 #38C14C #3869C1
square
#C138AD #C19138 #38C14C #3869C1
split-complementary
#C138AD #69C138 #38C191
monochromatic
#621C58 #922A82 #C138AD #D264C2 #E094D5

Accessibility & contrast

On white

4.73
#C138AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#C138AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C138AD
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C138AD#FFFFFF#000000##FFFFFF
##C138AD1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3666B0
Deuteranopia (green-blind)
#677AAA
Tritanopia (blue-blind)
#CA436E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c138ad;
/* rgb */ color: rgb(193, 56, 173);
/* oklch */ color: oklch(58.4% 0.213 334.5);
Tailwind
colors: {
  custom: {
    50: '#d77bc6',
    500: '#c138ad',
    950: '#000000',
  },
}
SCSS
$custom: #c138ad;
$custom-light: #d77bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#c138ad",
  "rgb": {
    "r": 193,
    "g": 56,
    "b": 173
  },
  "hsl": {
    "h": 308.759,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58401,
    "c": 0.21262,
    "h": 334.5
  },
  "luminance": 0.17183
}

Semantic roles & 50–950 ramp

primary
#C138AD
secondary
#8ACB93
accent
#DE5F49
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C138AD

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

Preview Lab → · Contrast checker → · Palette generator →

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