#C127C0#C127C0

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

Color values

HEX#C127C0
RGBrgb(193, 39, 192)
HSLhsl(300, 66%, 45%)
HSVhsv(300, 80%, 76%)
CMYKcmyk(0%, 79.8%, 0.5%, 24.3%)
CIE-LABlab(47.75, 73.90, -45.78)
CIE-LCHlch(47.75, 86.93, 328.22°)
OKLaboklab(58.19% 0.2068 -0.127)
OKLCHoklch(58.19% 0.243 328.4)
XYZxyz(32.2319, 16.5967, 51.3648)
Luminance0.1659 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C127C0 #27C128
analogous
#7527C1 #C127C0 #C12773
triadic
#C127C0 #C0C127 #27C0C1
tetradic
#C127C0 #C17527 #27C128 #2773C1
square
#C127C0 #C17527 #27C128 #2773C1
split-complementary
#C127C0 #73C127 #27C175
monochromatic
#5B125B #8E1D8D #C127C0 #DB4BDA #E57EE4

Accessibility & contrast

On white

4.86
#C127C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#C127C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C127C0
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C127C0#FFFFFF#000000##FFFFFF
##C127C01.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C4
Deuteranopia (green-blind)
#5678BC
Tritanopia (blue-blind)
#C74275
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c127c0;
/* rgb */ color: rgb(193, 39, 192);
/* oklch */ color: oklch(58.2% 0.243 328.4);
Tailwind
colors: {
  custom: {
    50: '#d875d3',
    500: '#c127c0',
    950: '#000000',
  },
}
SCSS
$custom: #c127c0;
$custom-light: #d875d3;
$custom-dark: #000000;
JSON
{
  "hex": "#c127c0",
  "rgb": {
    "r": 193,
    "g": 39,
    "b": 192
  },
  "hsl": {
    "h": 300.39,
    "s": 66.379,
    "l": 45.49
  },
  "oklch": {
    "l": 0.5819,
    "c": 0.2427,
    "h": 328.4
  },
  "luminance": 0.16594
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C127C0

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

Preview Lab → · Contrast checker → · Palette generator →

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