#C138C7#C138C7

#C138C7 is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.8% C 0.232 H 326.2°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#C138C7
RGBrgb(193, 56, 199)
HSLhsl(297, 56%, 50%)
HSVhsv(297, 72%, 78%)
CMYKcmyk(3%, 71.9%, 0%, 22%)
CIE-LABlab(49.85, 70.11, -46.50)
CIE-LCHlch(49.85, 84.13, 326.45°)
OKLaboklab(59.81% 0.1928 -0.1292)
OKLCHoklch(59.81% 0.232 326.2)
XYZxyz(33.7146, 18.2916, 55.7766)
Luminance0.1829 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C138C7 #3EC738
analogous
#7A38C7 #C138C7 #C73885
triadic
#C138C7 #C7C138 #38C7C1
tetradic
#C138C7 #C77A38 #3EC738 #3885C7
square
#C138C7 #C77A38 #3EC738 #3885C7
split-complementary
#C138C7 #85C738 #38C77A
monochromatic
#641D67 #932B97 #C138C7 #D068D4 #DF98E2

Accessibility & contrast

On white

4.51
#C138C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#C138C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C138C7
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C138C7#FFFFFF#000000##000000
##C138C71.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#126CCB
Deuteranopia (green-blind)
#597CC3
Tritanopia (blue-blind)
#C6507D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c138c7;
/* rgb */ color: rgb(193, 56, 199);
/* oklch */ color: oklch(59.8% 0.232 326.2);
Tailwind
colors: {
  custom: {
    50: '#d87cd8',
    500: '#c138c7',
    950: '#000000',
  },
}
SCSS
$custom: #c138c7;
$custom-light: #d87cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#c138c7",
  "rgb": {
    "r": 193,
    "g": 56,
    "b": 199
  },
  "hsl": {
    "h": 297.483,
    "s": 56.078,
    "l": 50
  },
  "oklch": {
    "l": 0.59813,
    "c": 0.23207,
    "h": 326.2
  },
  "luminance": 0.18289
}

Semantic roles & 50–950 ramp

primary
#C138C7
secondary
#90CD8D
accent
#DF484F
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #C138C7

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

Preview Lab → · Contrast checker → · Palette generator →

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