#C127BF#C127BF

#C127BF is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 58.1% C 0.242 H 328.7°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#C127BF
RGBrgb(193, 39, 191)
HSLhsl(301, 66%, 45%)
HSVhsv(301, 80%, 76%)
CMYKcmyk(0%, 79.8%, 1%, 24.3%)
CIE-LABlab(47.69, 73.74, -45.29)
CIE-LCHlch(47.69, 86.54, 328.44°)
OKLaboklab(58.13% 0.2069 -0.1256)
OKLCHoklch(58.13% 0.242 328.7)
XYZxyz(32.1215, 16.5526, 50.7833)
Luminance0.1655 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C127BF #27C129
analogous
#7627C1 #C127BF #C12772
triadic
#C127BF #BFC127 #27BFC1
tetradic
#C127BF #C17627 #27C129 #2772C1
square
#C127BF #C17627 #27C129 #2772C1
split-complementary
#C127BF #72C127 #27C176
monochromatic
#5B125A #8E1D8D #C127BF #DB4BD9 #E57EE4

Accessibility & contrast

On white

4.87
#C127BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#C127BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C127BF
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C127BF#FFFFFF#000000##FFFFFF
##C127BF1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#5778BB
Tritanopia (blue-blind)
#C84274
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c127bf;
/* rgb */ color: rgb(193, 39, 191);
/* oklch */ color: oklch(58.1% 0.242 328.7);
Tailwind
colors: {
  custom: {
    50: '#d875d3',
    500: '#c127bf',
    950: '#000000',
  },
}
SCSS
$custom: #c127bf;
$custom-light: #d875d3;
$custom-dark: #000000;
JSON
{
  "hex": "#c127bf",
  "rgb": {
    "r": 193,
    "g": 39,
    "b": 191
  },
  "hsl": {
    "h": 300.779,
    "s": 66.379,
    "l": 45.49
  },
  "oklch": {
    "l": 0.58132,
    "c": 0.24198,
    "h": 328.7
  },
  "luminance": 0.1655
}

Semantic roles & 50–950 ramp

primary
#C127BF
secondary
#77CD78
accent
#E9413E
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #C127BF

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

Preview Lab → · Contrast checker → · Palette generator →

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