#C138B8#C138B8

#C138B8 is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 59.0% C 0.221 H 330.8°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#C138B8
RGBrgb(193, 56, 184)
HSLhsl(304, 55%, 49%)
HSVhsv(304, 71%, 76%)
CMYKcmyk(0%, 71%, 4.7%, 24.3%)
CIE-LABlab(49.04, 67.69, -39.06)
CIE-LCHlch(49.04, 78.15, 330.01°)
OKLaboklab(58.98% 0.1926 -0.1076)
OKLCHoklch(58.98% 0.221 330.8)
XYZxyz(32.0581, 17.6290, 47.0524)
Luminance0.1763 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C138B8 #38C141
analogous
#8638C1 #C138B8 #C13874
triadic
#C138B8 #B8C138 #38B8C1
tetradic
#C138B8 #C18638 #38C141 #3874C1
square
#C138B8 #C18638 #38C141 #3874C1
split-complementary
#C138B8 #74C138 #38C186
monochromatic
#621C5E #922A8B #C138B8 #D264CB #E094DB

Accessibility & contrast

On white

4.64
#C138B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#C138B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C138B8
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C138B8#FFFFFF#000000##FFFFFF
##C138B81.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B68BC
Deuteranopia (green-blind)
#617BB5
Tritanopia (blue-blind)
#C84974
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c138b8;
/* rgb */ color: rgb(193, 56, 184);
/* oklch */ color: oklch(59.0% 0.221 330.8);
Tailwind
colors: {
  custom: {
    50: '#d77bce',
    500: '#c138b8',
    950: '#000000',
  },
}
SCSS
$custom: #c138b8;
$custom-light: #d77bce;
$custom-dark: #000000;
JSON
{
  "hex": "#c138b8",
  "rgb": {
    "r": 193,
    "g": 56,
    "b": 184
  },
  "hsl": {
    "h": 303.942,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58976,
    "c": 0.22064,
    "h": 330.8
  },
  "luminance": 0.17626
}

Semantic roles & 50–950 ramp

primary
#C138B8
secondary
#8ACB8E
accent
#DE5349
background
#FDF8FC
surface
#FBEFF9
border
#D4CAD2
text
#150A13
muted
#837C82

Preview Lab

Preview with #C138B8

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

Preview Lab → · Contrast checker → · Palette generator →

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