#C027C4#C027C4

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

Color values

HEX#C027C4
RGBrgb(192, 39, 196)
HSLhsl(298, 67%, 46%)
HSVhsv(298, 80%, 77%)
CMYKcmyk(2%, 80.1%, 0%, 23.1%)
CIE-LABlab(47.81, 74.33, -48.02)
CIE-LCHlch(47.81, 88.49, 327.14°)
OKLaboklab(58.28% 0.2056 -0.1335)
OKLCHoklch(58.28% 0.245 327)
XYZxyz(32.4270, 16.6454, 53.7188)
Luminance0.1664 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C027C4 #2BC427
analogous
#7127C4 #C027C4 #C42779
triadic
#C027C4 #C4C027 #27C4C0
tetradic
#C027C4 #C47127 #2BC427 #2779C4
square
#C027C4 #C47127 #2BC427 #2779C4
split-complementary
#C027C4 #79C427 #27C471
monochromatic
#5C135E #8E1D91 #C027C4 #D84DDC #E380E6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C027C4#FFFFFF#000000##FFFFFF
##C027C41.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)
#0065C8
Deuteranopia (green-blind)
#5278C0
Tritanopia (blue-blind)
#C64577
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c027c4;
/* rgb */ color: rgb(192, 39, 196);
/* oklch */ color: oklch(58.3% 0.245 327.0);
Tailwind
colors: {
  custom: {
    50: '#d775d6',
    500: '#c027c4',
    950: '#000000',
  },
}
SCSS
$custom: #c027c4;
$custom-light: #d775d6;
$custom-dark: #000000;
JSON
{
  "hex": "#c027c4",
  "rgb": {
    "r": 192,
    "g": 39,
    "b": 196
  },
  "hsl": {
    "h": 298.471,
    "s": 66.809,
    "l": 46.078
  },
  "oklch": {
    "l": 0.58276,
    "c": 0.24515,
    "h": 327
  },
  "luminance": 0.16643
}

Semantic roles & 50–950 ramp

primary
#C027C4
secondary
#7BCE79
accent
#EA3E42
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #C027C4

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

Preview Lab → · Contrast checker → · Palette generator →

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