#C02BB7#C02BB7

#C02BB7 is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.8% C 0.232 H 330.9°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#C02BB7
RGBrgb(192, 43, 183)
HSLhsl(304, 63%, 46%)
HSVhsv(304, 78%, 75%)
CMYKcmyk(0%, 77.6%, 4.7%, 24.7%)
CIE-LABlab(47.44, 71.29, -41.03)
CIE-LCHlch(47.44, 82.25, 330.08°)
OKLaboklab(57.78% 0.203 -0.1132)
OKLCHoklch(57.78% 0.232 330.9)
XYZxyz(31.1493, 16.3557, 46.3070)
Luminance0.1635 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02BB7 #2BC034
analogous
#7E2BC0 #C02BB7 #C02B6C
triadic
#C02BB7 #B7C02B #2BB7C0
tetradic
#C02BB7 #C07E2B #2BC034 #2B6CC0
square
#C02BB7 #C07E2B #2BC034 #2B6CC0
split-complementary
#C02BB7 #6CC02B #2BC07E
monochromatic
#5C1558 #8E2087 #C02BB7 #D850D0 #E382DD

Accessibility & contrast

On white

4.92
#C02BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#C02BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02BB7
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02BB7#FFFFFF#000000##FFFFFF
##C02BB71.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1764BB
Deuteranopia (green-blind)
#5C78B4
Tritanopia (blue-blind)
#C84070
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c02bb7;
/* rgb */ color: rgb(192, 43, 183);
/* oklch */ color: oklch(57.8% 0.232 330.9);
Tailwind
colors: {
  custom: {
    50: '#d776cd',
    500: '#c02bb7',
    950: '#000000',
  },
}
SCSS
$custom: #c02bb7;
$custom-light: #d776cd;
$custom-dark: #000000;
JSON
{
  "hex": "#c02bb7",
  "rgb": {
    "r": 192,
    "g": 43,
    "b": 183
  },
  "hsl": {
    "h": 303.624,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.57777,
    "c": 0.23247,
    "h": 330.9
  },
  "luminance": 0.16353
}

Semantic roles & 50–950 ramp

primary
#C02BB7
secondary
#7BCC80
accent
#E64B41
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #C02BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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