#C02BB1#C02BB1

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

Color values

HEX#C02BB1
RGBrgb(192, 43, 177)
HSLhsl(306, 63%, 46%)
HSVhsv(306, 78%, 75%)
CMYKcmyk(0%, 77.6%, 7.8%, 24.7%)
CIE-LABlab(47.12, 70.39, -38.01)
CIE-LCHlch(47.12, 79.99, 331.63°)
OKLaboklab(57.45% 0.2029 -0.1045)
OKLCHoklch(57.45% 0.228 332.8)
XYZxyz(30.5381, 16.1112, 43.0879)
Luminance0.1611 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02BB1 #2BC03A
analogous
#842BC0 #C02BB1 #C02B66
triadic
#C02BB1 #B1C02B #2BB1C0
tetradic
#C02BB1 #C0842B #2BC03A #2B66C0
square
#C02BB1 #C0842B #2BC03A #2B66C0
split-complementary
#C02BB1 #66C02B #2BC084
monochromatic
#5C1555 #8E2083 #C02BB1 #D850CA #E382D9

Accessibility & contrast

On white

4.97
#C02BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#C02BB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02BB1
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02BB1#FFFFFF#000000##FFFFFF
##C02BB11.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c02bb1;
/* rgb */ color: rgb(192, 43, 177);
/* oklch */ color: oklch(57.4% 0.228 332.8);
Tailwind
colors: {
  custom: {
    50: '#d776c9',
    500: '#c02bb1',
    950: '#000000',
  },
}
SCSS
$custom: #c02bb1;
$custom-light: #d776c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c02bb1",
  "rgb": {
    "r": 192,
    "g": 43,
    "b": 177
  },
  "hsl": {
    "h": 306.04,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.57448,
    "c": 0.22825,
    "h": 332.8
  },
  "luminance": 0.16109
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C02BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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