#C02CB1#C02CB1

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

Color values

HEX#C02CB1
RGBrgb(192, 44, 177)
HSLhsl(306, 63%, 46%)
HSVhsv(306, 77%, 75%)
CMYKcmyk(0%, 77.1%, 7.8%, 24.7%)
CIE-LABlab(47.22, 70.11, -37.86)
CIE-LCHlch(47.22, 79.68, 331.63°)
OKLaboklab(57.52% 0.2021 -0.1041)
OKLCHoklch(57.52% 0.227 332.8)
XYZxyz(30.5749, 16.1848, 43.1001)
Luminance0.1618 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02CB1 #2CC03B
analogous
#852CC0 #C02CB1 #C02C67
triadic
#C02CB1 #B1C02C #2CB1C0
tetradic
#C02CB1 #C0852C #2CC03B #2C67C0
square
#C02CB1 #C0852C #2CC03B #2C67C0
split-complementary
#C02CB1 #67C02C #2CC085
monochromatic
#5C1555 #8E2183 #C02CB1 #D752CA #E384D9

Accessibility & contrast

On white

4.96
#C02CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C02CB1
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02CB1#FFFFFF#000000##FFFFFF
##C02CB11.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2363B5
Deuteranopia (green-blind)
#5F77AE
Tritanopia (blue-blind)
#C93D6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c02cb1;
/* rgb */ color: rgb(192, 44, 177);
/* oklch */ color: oklch(57.5% 0.227 332.8);
Tailwind
colors: {
  custom: {
    50: '#d776c9',
    500: '#c02cb1',
    950: '#000000',
  },
}
SCSS
$custom: #c02cb1;
$custom-light: #d776c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c02cb1",
  "rgb": {
    "r": 192,
    "g": 44,
    "b": 177
  },
  "hsl": {
    "h": 306.081,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.57516,
    "c": 0.22734,
    "h": 332.8
  },
  "luminance": 0.16182
}

Semantic roles & 50–950 ramp

primary
#C02CB1
secondary
#7CCC84
accent
#E65342
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C02CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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