#C138C5#C138C5

#C138C5 is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.7% C 0.231 H 326.8°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#C138C5
RGBrgb(193, 56, 197)
HSLhsl(298, 56%, 50%)
HSVhsv(298, 72%, 77%)
CMYKcmyk(2%, 71.6%, 0%, 22.7%)
CIE-LABlab(49.74, 69.78, -45.52)
CIE-LCHlch(49.74, 83.32, 326.88°)
OKLaboklab(59.7% 0.1928 -0.1263)
OKLCHoklch(59.7% 0.231 326.8)
XYZxyz(33.4840, 18.1993, 54.5617)
Luminance0.1820 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C138C5 #3CC538
analogous
#7B38C5 #C138C5 #C53883
triadic
#C138C5 #C5C138 #38C5C1
tetradic
#C138C5 #C57B38 #3CC538 #3883C5
square
#C138C5 #C57B38 #3CC538 #3883C5
split-complementary
#C138C5 #83C538 #38C57B
monochromatic
#641D66 #922A95 #C138C5 #D167D4 #DF96E1

Accessibility & contrast

On white

4.53
#C138C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#C138C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C138C5
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C138C5#FFFFFF#000000##000000
##C138C51.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#176BC9
Deuteranopia (green-blind)
#5A7CC1
Tritanopia (blue-blind)
#C64F7B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c138c5;
/* rgb */ color: rgb(193, 56, 197);
/* oklch */ color: oklch(59.7% 0.231 326.8);
Tailwind
colors: {
  custom: {
    50: '#d87cd7',
    500: '#c138c5',
    950: '#000000',
  },
}
SCSS
$custom: #c138c5;
$custom-light: #d87cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#c138c5",
  "rgb": {
    "r": 193,
    "g": 56,
    "b": 197
  },
  "hsl": {
    "h": 298.298,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.59698,
    "c": 0.23052,
    "h": 326.8
  },
  "luminance": 0.18197
}

Semantic roles & 50–950 ramp

primary
#C138C5
secondary
#8ECD8C
accent
#DF494D
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #C138C5

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

Preview Lab → · Contrast checker → · Palette generator →

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