#C138B1#C138B1

#C138B1 is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.6% C 0.215 H 333.1°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#C138B1
RGBrgb(193, 56, 177)
HSLhsl(307, 55%, 49%)
HSVhsv(307, 71%, 76%)
CMYKcmyk(0%, 71%, 8.3%, 24.3%)
CIE-LABlab(48.69, 66.60, -35.52)
CIE-LCHlch(48.69, 75.49, 331.93°)
OKLaboklab(58.61% 0.1922 -0.0974)
OKLCHoklch(58.61% 0.215 333.1)
XYZxyz(31.3425, 17.3427, 43.2832)
Luminance0.1734 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C138B1 #38C148
analogous
#8D38C1 #C138B1 #C1386D
triadic
#C138B1 #B1C138 #38B1C1
tetradic
#C138B1 #C18D38 #38C148 #386DC1
square
#C138B1 #C18D38 #38C148 #386DC1
split-complementary
#C138B1 #6DC138 #38C18D
monochromatic
#621C5A #922A85 #C138B1 #D264C5 #E094D7

Accessibility & contrast

On white

4.70
#C138B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#C138B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C138B1
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C138B1#FFFFFF#000000##FFFFFF
##C138B11.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3367B4
Deuteranopia (green-blind)
#657BAE
Tritanopia (blue-blind)
#CA4570
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c138b1;
/* rgb */ color: rgb(193, 56, 177);
/* oklch */ color: oklch(58.6% 0.215 333.1);
Tailwind
colors: {
  custom: {
    50: '#d77bc8',
    500: '#c138b1',
    950: '#000000',
  },
}
SCSS
$custom: #c138b1;
$custom-light: #d77bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#c138b1",
  "rgb": {
    "r": 193,
    "g": 56,
    "b": 177
  },
  "hsl": {
    "h": 307.007,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58606,
    "c": 0.21549,
    "h": 333.1
  },
  "luminance": 0.1734
}

Semantic roles & 50–950 ramp

primary
#C138B1
secondary
#8ACB91
accent
#DE5B49
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C138B1

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

Preview Lab → · Contrast checker → · Palette generator →

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