#C02CB2#C02CB2

#C02CB2 is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.6% C 0.228 H 332.4°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#C02CB2
RGBrgb(192, 44, 178)
HSLhsl(306, 63%, 46%)
HSVhsv(306, 77%, 75%)
CMYKcmyk(0%, 77.1%, 7.3%, 24.7%)
CIE-LABlab(47.27, 70.26, -38.36)
CIE-LCHlch(47.27, 80.05, 331.37°)
OKLaboklab(57.57% 0.2022 -0.1055)
OKLCHoklch(57.57% 0.228 332.4)
XYZxyz(30.6749, 16.2248, 43.6270)
Luminance0.1622 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02CB2 #2CC03A
analogous
#842CC0 #C02CB2 #C02C68
triadic
#C02CB2 #B2C02C #2CB2C0
tetradic
#C02CB2 #C0842C #2CC03A #2C68C0
square
#C02CB2 #C0842C #2CC03A #2C68C0
split-complementary
#C02CB2 #68C02C #2CC084
monochromatic
#5C1556 #8E2184 #C02CB2 #D752CB #E384DA

Accessibility & contrast

On white

4.95
#C02CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#C02CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02CB2
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02CB2#FFFFFF#000000##FFFFFF
##C02CB21.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2163B6
Deuteranopia (green-blind)
#5F77AF
Tritanopia (blue-blind)
#C83E6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c02cb2;
/* rgb */ color: rgb(192, 44, 178);
/* oklch */ color: oklch(57.6% 0.228 332.4);
Tailwind
colors: {
  custom: {
    50: '#d776c9',
    500: '#c02cb2',
    950: '#000000',
  },
}
SCSS
$custom: #c02cb2;
$custom-light: #d776c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c02cb2",
  "rgb": {
    "r": 192,
    "g": 44,
    "b": 178
  },
  "hsl": {
    "h": 305.676,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.5757,
    "c": 0.22804,
    "h": 332.4
  },
  "luminance": 0.16222
}

Semantic roles & 50–950 ramp

primary
#C02CB2
secondary
#7CCC83
accent
#E65242
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C02CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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