#C138AF#C138AF

#C138AF is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.5% C 0.214 H 333.8°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#C138AF
RGBrgb(193, 56, 175)
HSLhsl(308, 55%, 49%)
HSVhsv(308, 71%, 76%)
CMYKcmyk(0%, 71%, 9.3%, 24.3%)
CIE-LABlab(48.59, 66.30, -34.50)
CIE-LCHlch(48.59, 74.74, 332.51°)
OKLaboklab(58.5% 0.1921 -0.0945)
OKLCHoklch(58.5% 0.214 333.8)
XYZxyz(31.1446, 17.2636, 42.2410)
Luminance0.1726 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C138AF #38C14A
analogous
#8F38C1 #C138AF #C1386B
triadic
#C138AF #AFC138 #38AFC1
tetradic
#C138AF #C18F38 #38C14A #386BC1
square
#C138AF #C18F38 #38C14A #386BC1
split-complementary
#C138AF #6BC138 #38C18F
monochromatic
#621C59 #922A84 #C138AF #D264C4 #E094D6

Accessibility & contrast

On white

4.72
#C138AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#C138AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C138AF
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C138AF#FFFFFF#000000##FFFFFF
##C138AF1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3567B2
Deuteranopia (green-blind)
#667AAC
Tritanopia (blue-blind)
#CA446F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c138af;
/* rgb */ color: rgb(193, 56, 175);
/* oklch */ color: oklch(58.5% 0.214 333.8);
Tailwind
colors: {
  custom: {
    50: '#d77bc7',
    500: '#c138af',
    950: '#000000',
  },
}
SCSS
$custom: #c138af;
$custom-light: #d77bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#c138af",
  "rgb": {
    "r": 193,
    "g": 56,
    "b": 175
  },
  "hsl": {
    "h": 307.883,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58503,
    "c": 0.21405,
    "h": 333.8
  },
  "luminance": 0.17261
}

Semantic roles & 50–950 ramp

primary
#C138AF
secondary
#8ACB92
accent
#DE5D49
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C138AF

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

Preview Lab → · Contrast checker → · Palette generator →

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