#C02BB2#C02BB2

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

Color values

HEX#C02BB2
RGBrgb(192, 43, 178)
HSLhsl(306, 63%, 46%)
HSVhsv(306, 78%, 75%)
CMYKcmyk(0%, 77.6%, 7.3%, 24.7%)
CIE-LABlab(47.17, 70.54, -38.51)
CIE-LCHlch(47.17, 80.36, 331.37°)
OKLaboklab(57.5% 0.203 -0.106)
OKLCHoklch(57.5% 0.229 332.4)
XYZxyz(30.6381, 16.1512, 43.6147)
Luminance0.1615 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02BB2 #2BC039
analogous
#832BC0 #C02BB2 #C02B67
triadic
#C02BB2 #B2C02B #2BB2C0
tetradic
#C02BB2 #C0832B #2BC039 #2B67C0
square
#C02BB2 #C0832B #2BC039 #2B67C0
split-complementary
#C02BB2 #67C02B #2BC083
monochromatic
#5C1555 #8E2084 #C02BB2 #D850CB #E382DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C02BB2#FFFFFF#000000##FFFFFF
##C02BB21.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2063B6
Deuteranopia (green-blind)
#5E77AF
Tritanopia (blue-blind)
#C83D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c02bb2;
/* rgb */ color: rgb(192, 43, 178);
/* oklch */ color: oklch(57.5% 0.229 332.4);
Tailwind
colors: {
  custom: {
    50: '#d776c9',
    500: '#c02bb2',
    950: '#000000',
  },
}
SCSS
$custom: #c02bb2;
$custom-light: #d776c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c02bb2",
  "rgb": {
    "r": 192,
    "g": 43,
    "b": 178
  },
  "hsl": {
    "h": 305.638,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.57502,
    "c": 0.22895,
    "h": 332.4
  },
  "luminance": 0.16149
}

Semantic roles & 50–950 ramp

primary
#C02BB2
secondary
#7BCC82
accent
#E65141
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C02BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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