#C138B3#C138B3

#C138B3 is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 58.7% C 0.217 H 332.5°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#C138B3
RGBrgb(193, 56, 179)
HSLhsl(306, 55%, 49%)
HSVhsv(306, 71%, 76%)
CMYKcmyk(0%, 71%, 7.3%, 24.3%)
CIE-LABlab(48.79, 66.91, -36.54)
CIE-LCHlch(48.79, 76.24, 331.36°)
OKLaboklab(58.71% 0.1924 -0.1003)
OKLCHoklch(58.71% 0.217 332.5)
XYZxyz(31.5433, 17.4230, 44.3407)
Luminance0.1742 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C138B3 #38C146
analogous
#8B38C1 #C138B3 #C1386F
triadic
#C138B3 #B3C138 #38B3C1
tetradic
#C138B3 #C18B38 #38C146 #386FC1
square
#C138B3 #C18B38 #38C146 #386FC1
split-complementary
#C138B3 #6FC138 #38C18B
monochromatic
#621C5B #922A87 #C138B3 #D264C7 #E094D8

Accessibility & contrast

On white

4.68
#C138B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#C138B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C138B3
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C138B3#FFFFFF#000000##FFFFFF
##C138B31.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3167B6
Deuteranopia (green-blind)
#647BB0
Tritanopia (blue-blind)
#C94672
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c138b3;
/* rgb */ color: rgb(193, 56, 179);
/* oklch */ color: oklch(58.7% 0.217 332.5);
Tailwind
colors: {
  custom: {
    50: '#d77bca',
    500: '#c138b3',
    950: '#000000',
  },
}
SCSS
$custom: #c138b3;
$custom-light: #d77bca;
$custom-dark: #000000;
JSON
{
  "hex": "#c138b3",
  "rgb": {
    "r": 193,
    "g": 56,
    "b": 179
  },
  "hsl": {
    "h": 306.131,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.5871,
    "c": 0.21695,
    "h": 332.5
  },
  "luminance": 0.1742
}

Semantic roles & 50–950 ramp

primary
#C138B3
secondary
#8ACB90
accent
#DE5949
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C138B3

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

Preview Lab → · Contrast checker → · Palette generator →

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