#C127BD#C127BD

#C127BD is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 58.0% C 0.241 H 329.3°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#C127BD
RGBrgb(193, 39, 189)
HSLhsl(302, 66%, 45%)
HSVhsv(302, 80%, 76%)
CMYKcmyk(0%, 79.8%, 2.1%, 24.3%)
CIE-LABlab(47.58, 73.44, -44.30)
CIE-LCHlch(47.58, 85.76, 328.90°)
OKLaboklab(58.02% 0.2069 -0.1227)
OKLCHoklch(58.02% 0.241 329.3)
XYZxyz(31.9029, 16.4651, 49.6321)
Luminance0.1646 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C127BD #27C12B
analogous
#7827C1 #C127BD #C12770
triadic
#C127BD #BDC127 #27BDC1
tetradic
#C127BD #C17827 #27C12B #2770C1
square
#C127BD #C17827 #27C12B #2770C1
split-complementary
#C127BD #70C127 #27C178
monochromatic
#5B1259 #8E1D8B #C127BD #DB4BD7 #E57EE2

Accessibility & contrast

On white

4.89
#C127BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#C127BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C127BD
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C127BD#FFFFFF#000000##FFFFFF
##C127BD1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C1
Deuteranopia (green-blind)
#5878B9
Tritanopia (blue-blind)
#C84173
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c127bd;
/* rgb */ color: rgb(193, 39, 189);
/* oklch */ color: oklch(58.0% 0.241 329.3);
Tailwind
colors: {
  custom: {
    50: '#d875d1',
    500: '#c127bd',
    950: '#000000',
  },
}
SCSS
$custom: #c127bd;
$custom-light: #d875d1;
$custom-dark: #000000;
JSON
{
  "hex": "#c127bd",
  "rgb": {
    "r": 193,
    "g": 39,
    "b": 189
  },
  "hsl": {
    "h": 301.558,
    "s": 66.379,
    "l": 45.49
  },
  "oklch": {
    "l": 0.58016,
    "c": 0.24056,
    "h": 329.3
  },
  "luminance": 0.16463
}

Semantic roles & 50–950 ramp

primary
#C127BD
secondary
#77CD79
accent
#E9433E
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C127BD

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

Preview Lab → · Contrast checker → · Palette generator →

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