#C02CB0#C02CB0

#C02CB0 is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.5% C 0.227 H 333.1°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#C02CB0
RGBrgb(192, 44, 176)
HSLhsl(306, 63%, 46%)
HSVhsv(306, 77%, 75%)
CMYKcmyk(0%, 77.1%, 8.3%, 24.7%)
CIE-LABlab(47.16, 69.96, -37.35)
CIE-LCHlch(47.16, 79.31, 331.91°)
OKLaboklab(57.46% 0.2021 -0.1026)
OKLCHoklch(57.46% 0.227 333.1)
XYZxyz(30.4756, 16.1451, 42.5771)
Luminance0.1614 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02CB0 #2CC03C
analogous
#862CC0 #C02CB0 #C02C66
triadic
#C02CB0 #B0C02C #2CB0C0
tetradic
#C02CB0 #C0862C #2CC03C #2C66C0
square
#C02CB0 #C0862C #2CC03C #2C66C0
split-complementary
#C02CB0 #66C02C #2CC086
monochromatic
#5C1555 #8E2182 #C02CB0 #D752C9 #E384D8

Accessibility & contrast

On white

4.97
#C02CB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#C02CB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02CB0
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02CB0#FFFFFF#000000##FFFFFF
##C02CB01.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2462B3
Deuteranopia (green-blind)
#6077AD
Tritanopia (blue-blind)
#C93D6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c02cb0;
/* rgb */ color: rgb(192, 44, 176);
/* oklch */ color: oklch(57.5% 0.227 333.1);
Tailwind
colors: {
  custom: {
    50: '#d776c8',
    500: '#c02cb0',
    950: '#000000',
  },
}
SCSS
$custom: #c02cb0;
$custom-light: #d776c8;
$custom-dark: #000000;
JSON
{
  "hex": "#c02cb0",
  "rgb": {
    "r": 192,
    "g": 44,
    "b": 176
  },
  "hsl": {
    "h": 306.486,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.57463,
    "c": 0.22664,
    "h": 333.1
  },
  "luminance": 0.16142
}

Semantic roles & 50–950 ramp

primary
#C02CB0
secondary
#7CCC85
accent
#E65442
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C02CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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