#C02BB3#C02BB3

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

Color values

HEX#C02BB3
RGBrgb(192, 43, 179)
HSLhsl(305, 63%, 46%)
HSVhsv(305, 78%, 75%)
CMYKcmyk(0%, 77.6%, 6.8%, 24.7%)
CIE-LABlab(47.22, 70.68, -39.02)
CIE-LCHlch(47.22, 80.74, 331.10°)
OKLaboklab(57.56% 0.203 -0.1074)
OKLCHoklch(57.56% 0.23 332.1)
XYZxyz(30.7389, 16.1915, 44.1454)
Luminance0.1619 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02BB3 #2BC038
analogous
#822BC0 #C02BB3 #C02B68
triadic
#C02BB3 #B3C02B #2BB3C0
tetradic
#C02BB3 #C0822B #2BC038 #2B68C0
square
#C02BB3 #C0822B #2BC038 #2B68C0
split-complementary
#C02BB3 #68C02B #2BC082
monochromatic
#5C1556 #8E2084 #C02BB3 #D850CC #E382DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C02BB3#FFFFFF#000000##FFFFFF
##C02BB31.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)
#1F63B7
Deuteranopia (green-blind)
#5E77B0
Tritanopia (blue-blind)
#C83E6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c02bb3;
/* rgb */ color: rgb(192, 43, 179);
/* oklch */ color: oklch(57.6% 0.230 332.1);
Tailwind
colors: {
  custom: {
    50: '#d776ca',
    500: '#c02bb3',
    950: '#000000',
  },
}
SCSS
$custom: #c02bb3;
$custom-light: #d776ca;
$custom-dark: #000000;
JSON
{
  "hex": "#c02bb3",
  "rgb": {
    "r": 192,
    "g": 43,
    "b": 179
  },
  "hsl": {
    "h": 305.235,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.57556,
    "c": 0.22965,
    "h": 332.1
  },
  "luminance": 0.16189
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C02BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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