#C138B5#C138B5

#C138B5 is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 58.8% C 0.218 H 331.8°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#C138B5
RGBrgb(193, 56, 181)
HSLhsl(305, 55%, 49%)
HSVhsv(305, 71%, 76%)
CMYKcmyk(0%, 71%, 6.2%, 24.3%)
CIE-LABlab(48.89, 67.22, -37.55)
CIE-LCHlch(48.89, 77.00, 330.81°)
OKLaboklab(58.82% 0.1925 -0.1032)
OKLCHoklch(58.82% 0.218 331.8)
XYZxyz(31.7470, 17.5045, 45.4138)
Luminance0.1750 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C138B5 #38C144
analogous
#8938C1 #C138B5 #C13871
triadic
#C138B5 #B5C138 #38B5C1
tetradic
#C138B5 #C18938 #38C144 #3871C1
square
#C138B5 #C18938 #38C144 #3871C1
split-complementary
#C138B5 #71C138 #38C189
monochromatic
#621C5C #922A89 #C138B5 #D264C8 #E094D9

Accessibility & contrast

On white

4.67
#C138B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#C138B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C138B5
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C138B5#FFFFFF#000000##FFFFFF
##C138B51.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F68B8
Deuteranopia (green-blind)
#637BB2
Tritanopia (blue-blind)
#C94773
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c138b5;
/* rgb */ color: rgb(193, 56, 181);
/* oklch */ color: oklch(58.8% 0.218 331.8);
Tailwind
colors: {
  custom: {
    50: '#d77bcb',
    500: '#c138b5',
    950: '#000000',
  },
}
SCSS
$custom: #c138b5;
$custom-light: #d77bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#c138b5",
  "rgb": {
    "r": 193,
    "g": 56,
    "b": 181
  },
  "hsl": {
    "h": 305.255,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58816,
    "c": 0.21842,
    "h": 331.8
  },
  "luminance": 0.17502
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C138B5

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

Preview Lab → · Contrast checker → · Palette generator →

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