#C02BB0#C02BB0

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

Color values

HEX#C02BB0
RGBrgb(192, 43, 176)
HSLhsl(306, 63%, 46%)
HSVhsv(306, 78%, 75%)
CMYKcmyk(0%, 77.6%, 8.3%, 24.7%)
CIE-LABlab(47.07, 70.24, -37.50)
CIE-LCHlch(47.07, 79.62, 331.90°)
OKLaboklab(57.39% 0.2029 -0.103)
OKLCHoklch(57.39% 0.228 333.1)
XYZxyz(30.4388, 16.0715, 42.5649)
Luminance0.1607 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02BB0 #2BC03B
analogous
#852BC0 #C02BB0 #C02B65
triadic
#C02BB0 #B0C02B #2BB0C0
tetradic
#C02BB0 #C0852B #2BC03B #2B65C0
square
#C02BB0 #C0852B #2BC03B #2B65C0
split-complementary
#C02BB0 #65C02B #2BC085
monochromatic
#5C1554 #8E2082 #C02BB0 #D850C9 #E382D9

Accessibility & contrast

On white

4.98
#C02BB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#C02BB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02BB0
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02BB0#FFFFFF#000000##FFFFFF
##C02BB01.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2362B3
Deuteranopia (green-blind)
#5F77AD
Tritanopia (blue-blind)
#C93C6C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c02bb0;
/* rgb */ color: rgb(192, 43, 176);
/* oklch */ color: oklch(57.4% 0.228 333.1);
Tailwind
colors: {
  custom: {
    50: '#d776c8',
    500: '#c02bb0',
    950: '#000000',
  },
}
SCSS
$custom: #c02bb0;
$custom-light: #d776c8;
$custom-dark: #000000;
JSON
{
  "hex": "#c02bb0",
  "rgb": {
    "r": 192,
    "g": 43,
    "b": 176
  },
  "hsl": {
    "h": 306.443,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.57394,
    "c": 0.22756,
    "h": 333.1
  },
  "luminance": 0.16069
}

Semantic roles & 50–950 ramp

primary
#C02BB0
secondary
#7BCC83
accent
#E65341
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C02BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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