#C127C1#C127C1

#C127C1 is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 58.2% C 0.243 H 328.2°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#C127C1
RGBrgb(193, 39, 193)
HSLhsl(300, 66%, 45%)
HSVhsv(300, 80%, 76%)
CMYKcmyk(0%, 79.8%, 0%, 24.3%)
CIE-LABlab(47.80, 74.05, -46.27)
CIE-LCHlch(47.80, 87.32, 328.00°)
OKLaboklab(58.25% 0.2068 -0.1284)
OKLCHoklch(58.25% 0.243 328.2)
XYZxyz(32.3431, 16.6412, 51.9503)
Luminance0.1664 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C127C1 #27C127
analogous
#7427C1 #C127C1 #C12774
triadic
#C127C1 #C1C127 #27C1C1
tetradic
#C127C1 #C17427 #27C127 #2774C1
square
#C127C1 #C17427 #27C127 #2774C1
split-complementary
#C127C1 #74C127 #27C174
monochromatic
#5B125B #8E1D8E #C127C1 #DB4BDB #E57EE5

Accessibility & contrast

On white

4.85
#C127C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#C127C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C127C1
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C127C1#FFFFFF#000000##FFFFFF
##C127C11.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C5
Deuteranopia (green-blind)
#5578BD
Tritanopia (blue-blind)
#C74375
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c127c1;
/* rgb */ color: rgb(193, 39, 193);
/* oklch */ color: oklch(58.2% 0.243 328.2);
Tailwind
colors: {
  custom: {
    50: '#d875d4',
    500: '#c127c1',
    950: '#000000',
  },
}
SCSS
$custom: #c127c1;
$custom-light: #d875d4;
$custom-dark: #000000;
JSON
{
  "hex": "#c127c1",
  "rgb": {
    "r": 193,
    "g": 39,
    "b": 193
  },
  "hsl": {
    "h": 300,
    "s": 66.379,
    "l": 45.49
  },
  "oklch": {
    "l": 0.58249,
    "c": 0.2434,
    "h": 328.2
  },
  "luminance": 0.16639
}

Semantic roles & 50–950 ramp

primary
#C127C1
secondary
#77CD77
accent
#E93E3E
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #C127C1

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

Preview Lab → · Contrast checker → · Palette generator →

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