#C138CD#C138CD

#C138CD is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 60.2% C 0.237 H 324.4°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#C138CD
RGBrgb(193, 56, 205)
HSLhsl(295, 60%, 51%)
HSVhsv(295, 73%, 80%)
CMYKcmyk(5.9%, 72.7%, 0%, 19.6%)
CIE-LABlab(50.19, 71.12, -49.41)
CIE-LCHlch(50.19, 86.60, 325.21°)
OKLaboklab(60.17% 0.1926 -0.1377)
OKLCHoklch(60.17% 0.237 324.4)
XYZxyz(34.4250, 18.5758, 59.5180)
Luminance0.1857 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C138CD #44CD38
analogous
#7638CD #C138CD #CD388E
triadic
#C138CD #CDC138 #38CDC1
tetradic
#C138CD #CD7638 #44CD38 #388ECD
square
#C138CD #CD7638 #44CD38 #388ECD
split-complementary
#C138CD #8ECD38 #38CD76
monochromatic
#681C6F #9628A0 #C138CD #D069D9 #DF9AE6

Accessibility & contrast

On white

4.45
#C138CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#C138CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C138CD
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C138CD#FFFFFF#000000##000000
##C138CD1.004.454.714.71
#FFFFFF4.451.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#006DD1
Deuteranopia (green-blind)
#557DC9
Tritanopia (blue-blind)
#C55280
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c138cd;
/* rgb */ color: rgb(193, 56, 205);
/* oklch */ color: oklch(60.2% 0.237 324.4);
Tailwind
colors: {
  custom: {
    50: '#d87cdd',
    500: '#c138cd',
    950: '#000000',
  },
}
SCSS
$custom: #c138cd;
$custom-light: #d87cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#c138cd",
  "rgb": {
    "r": 193,
    "g": 56,
    "b": 205
  },
  "hsl": {
    "h": 295.168,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.60165,
    "c": 0.23677,
    "h": 324.4
  },
  "luminance": 0.18574
}

Semantic roles & 50–950 ramp

primary
#C138CD
secondary
#95D18F
accent
#E34552
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #C138CD

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

Preview Lab → · Contrast checker → · Palette generator →

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