#C02BBC#C02BBC

#C02BBC is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 58.1% C 0.236 H 329.3°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#C02BBC
RGBrgb(192, 43, 188)
HSLhsl(302, 63%, 46%)
HSVhsv(302, 78%, 75%)
CMYKcmyk(0%, 77.6%, 2.1%, 24.7%)
CIE-LABlab(47.71, 72.05, -43.52)
CIE-LCHlch(47.71, 84.18, 328.87°)
OKLaboklab(58.06% 0.203 -0.1205)
OKLCHoklch(58.06% 0.236 329.3)
XYZxyz(31.6790, 16.5675, 49.0966)
Luminance0.1656 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02BBC #2BC02F
analogous
#792BC0 #C02BBC #C02B71
triadic
#C02BBC #BCC02B #2BBCC0
tetradic
#C02BBC #C0792B #2BC02F #2B71C0
square
#C02BBC #C0792B #2BC02F #2B71C0
split-complementary
#C02BBC #71C02B #2BC079
monochromatic
#5C155A #8E208B #C02BBC #D850D4 #E382E0

Accessibility & contrast

On white

4.87
#C02BBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#C02BBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02BBC
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02BBC#FFFFFF#000000##FFFFFF
##C02BBC1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0965C0
Deuteranopia (green-blind)
#5978B8
Tritanopia (blue-blind)
#C74373
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c02bbc;
/* rgb */ color: rgb(192, 43, 188);
/* oklch */ color: oklch(58.1% 0.236 329.3);
Tailwind
colors: {
  custom: {
    50: '#d776d1',
    500: '#c02bbc',
    950: '#000000',
  },
}
SCSS
$custom: #c02bbc;
$custom-light: #d776d1;
$custom-dark: #000000;
JSON
{
  "hex": "#c02bbc",
  "rgb": {
    "r": 192,
    "g": 43,
    "b": 188
  },
  "hsl": {
    "h": 301.611,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5806,
    "c": 0.23605,
    "h": 329.3
  },
  "luminance": 0.16565
}

Semantic roles & 50–950 ramp

primary
#C02BBC
secondary
#7BCC7D
accent
#E64641
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C02BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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