#C02BB9#C02BB9

#C02BB9 is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.9% C 0.234 H 330.2°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#C02BB9
RGBrgb(192, 43, 185)
HSLhsl(303, 63%, 46%)
HSVhsv(303, 78%, 75%)
CMYKcmyk(0%, 77.6%, 3.6%, 24.7%)
CIE-LABlab(47.55, 71.59, -42.03)
CIE-LCHlch(47.55, 83.02, 329.59°)
OKLaboklab(57.89% 0.203 -0.1161)
OKLCHoklch(57.89% 0.234 330.2)
XYZxyz(31.3589, 16.4395, 47.4111)
Luminance0.1644 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02BB9 #2BC032
analogous
#7C2BC0 #C02BB9 #C02B6E
triadic
#C02BB9 #B9C02B #2BB9C0
tetradic
#C02BB9 #C07C2B #2BC032 #2B6EC0
square
#C02BB9 #C07C2B #2BC032 #2B6EC0
split-complementary
#C02BB9 #6EC02B #2BC07C
monochromatic
#5C1559 #8E2089 #C02BB9 #D850D2 #E382DF

Accessibility & contrast

On white

4.90
#C02BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#C02BB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02BB9
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02BB9#FFFFFF#000000##FFFFFF
##C02BB91.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1364BD
Deuteranopia (green-blind)
#5B78B5
Tritanopia (blue-blind)
#C74171
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c02bb9;
/* rgb */ color: rgb(192, 43, 185);
/* oklch */ color: oklch(57.9% 0.234 330.2);
Tailwind
colors: {
  custom: {
    50: '#d776ce',
    500: '#c02bb9',
    950: '#000000',
  },
}
SCSS
$custom: #c02bb9;
$custom-light: #d776ce;
$custom-dark: #000000;
JSON
{
  "hex": "#c02bb9",
  "rgb": {
    "r": 192,
    "g": 43,
    "b": 185
  },
  "hsl": {
    "h": 302.819,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.57889,
    "c": 0.2339,
    "h": 330.2
  },
  "luminance": 0.16437
}

Semantic roles & 50–950 ramp

primary
#C02BB9
secondary
#7BCC7F
accent
#E64941
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C02BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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