#C02CB6#C02CB6

#C02CB6 is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.8% C 0.231 H 331.2°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#C02CB6
RGBrgb(192, 44, 182)
HSLhsl(304, 63%, 46%)
HSVhsv(304, 77%, 75%)
CMYKcmyk(0%, 77.1%, 5.2%, 24.7%)
CIE-LABlab(47.48, 70.86, -40.38)
CIE-LCHlch(47.48, 81.56, 330.33°)
OKLaboklab(57.79% 0.2022 -0.1113)
OKLCHoklch(57.79% 0.231 331.2)
XYZxyz(31.0824, 16.3878, 45.7730)
Luminance0.1638 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02CB6 #2CC036
analogous
#802CC0 #C02CB6 #C02C6C
triadic
#C02CB6 #B6C02C #2CB6C0
tetradic
#C02CB6 #C0802C #2CC036 #2C6CC0
square
#C02CB6 #C0802C #2CC036 #2C6CC0
split-complementary
#C02CB6 #6CC02C #2CC080
monochromatic
#5C1558 #8E2187 #C02CB6 #D752CE #E384DC

Accessibility & contrast

On white

4.91
#C02CB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#C02CB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02CB6
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02CB6#FFFFFF#000000##FFFFFF
##C02CB61.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B64BA
Deuteranopia (green-blind)
#5D78B3
Tritanopia (blue-blind)
#C84070
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c02cb6;
/* rgb */ color: rgb(192, 44, 182);
/* oklch */ color: oklch(57.8% 0.231 331.2);
Tailwind
colors: {
  custom: {
    50: '#d776cc',
    500: '#c02cb6',
    950: '#000000',
  },
}
SCSS
$custom: #c02cb6;
$custom-light: #d776cc;
$custom-dark: #000000;
JSON
{
  "hex": "#c02cb6",
  "rgb": {
    "r": 192,
    "g": 44,
    "b": 182
  },
  "hsl": {
    "h": 304.054,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.5779,
    "c": 0.23086,
    "h": 331.2
  },
  "luminance": 0.16385
}

Semantic roles & 50–950 ramp

primary
#C02CB6
secondary
#7CCC81
accent
#E64D42
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #C02CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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