#C02CB8#C02CB8

#C02CB8 is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.9% C 0.232 H 330.5°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#C02CB8
RGBrgb(192, 44, 184)
HSLhsl(303, 63%, 46%)
HSVhsv(303, 77%, 75%)
CMYKcmyk(0%, 77.1%, 4.2%, 24.7%)
CIE-LABlab(47.59, 71.17, -41.38)
CIE-LCHlch(47.59, 82.32, 329.82°)
OKLaboklab(57.9% 0.2023 -0.1143)
OKLCHoklch(57.9% 0.232 330.5)
XYZxyz(31.2906, 16.4710, 46.8693)
Luminance0.1647 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02CB8 #2CC034
analogous
#7E2CC0 #C02CB8 #C02C6E
triadic
#C02CB8 #B8C02C #2CB8C0
tetradic
#C02CB8 #C07E2C #2CC034 #2C6EC0
square
#C02CB8 #C07E2C #2CC034 #2C6EC0
split-complementary
#C02CB8 #6EC02C #2CC07E
monochromatic
#5C1559 #8E2188 #C02CB8 #D752D0 #E384DE

Accessibility & contrast

On white

4.89
#C02CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#C02CB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02CB8
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02CB8#FFFFFF#000000##FFFFFF
##C02CB81.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1764BC
Deuteranopia (green-blind)
#5C78B5
Tritanopia (blue-blind)
#C74171
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c02cb8;
/* rgb */ color: rgb(192, 44, 184);
/* oklch */ color: oklch(57.9% 0.232 330.5);
Tailwind
colors: {
  custom: {
    50: '#d776ce',
    500: '#c02cb8',
    950: '#000000',
  },
}
SCSS
$custom: #c02cb8;
$custom-light: #d776ce;
$custom-dark: #000000;
JSON
{
  "hex": "#c02cb8",
  "rgb": {
    "r": 192,
    "g": 44,
    "b": 184
  },
  "hsl": {
    "h": 303.243,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.57901,
    "c": 0.23229,
    "h": 330.5
  },
  "luminance": 0.16469
}

Semantic roles & 50–950 ramp

primary
#C02CB8
secondary
#7CCC80
accent
#E64B42
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #C02CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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