#C026C7#C026C7

#C026C7 is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 58.4% C 0.248 H 326.2°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#C026C7
RGBrgb(192, 38, 199)
HSLhsl(297, 68%, 46%)
HSVhsv(297, 81%, 78%)
CMYKcmyk(3.5%, 80.9%, 0%, 22%)
CIE-LABlab(47.90, 75.05, -49.61)
CIE-LCHlch(47.90, 89.96, 326.54°)
OKLaboklab(58.4% 0.2061 -0.1382)
OKLCHoklch(58.4% 0.248 326.2)
XYZxyz(32.7395, 16.7185, 55.5244)
Luminance0.1672 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C026C7 #2DC726
analogous
#7026C7 #C026C7 #C7267E
triadic
#C026C7 #C7C026 #26C7C0
tetradic
#C026C7 #C77026 #2DC726 #267EC7
square
#C026C7 #C77026 #2DC726 #267EC7
split-complementary
#C026C7 #7EC726 #26C770
monochromatic
#5D1260 #8E1C94 #C026C7 #D74DDD #E281E7

Accessibility & contrast

On white

4.84
#C026C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#C026C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C026C7
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C026C7#FFFFFF#000000##FFFFFF
##C026C71.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CB
Deuteranopia (green-blind)
#5078C3
Tritanopia (blue-blind)
#C54678
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c026c7;
/* rgb */ color: rgb(192, 38, 199);
/* oklch */ color: oklch(58.4% 0.248 326.2);
Tailwind
colors: {
  custom: {
    50: '#d775d9',
    500: '#c026c7',
    950: '#000000',
  },
}
SCSS
$custom: #c026c7;
$custom-light: #d775d9;
$custom-dark: #000000;
JSON
{
  "hex": "#c026c7",
  "rgb": {
    "r": 192,
    "g": 38,
    "b": 199
  },
  "hsl": {
    "h": 297.391,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.58399,
    "c": 0.24808,
    "h": 326.2
  },
  "luminance": 0.16716
}

Semantic roles & 50–950 ramp

primary
#C026C7
secondary
#7DCF79
accent
#EB3D45
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150A15
muted
#837C83

Preview Lab

Preview with #C026C7

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

Preview Lab → · Contrast checker → · Palette generator →

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