#C02CB7#C02CB7

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

Color values

HEX#C02CB7
RGBrgb(192, 44, 183)
HSLhsl(304, 63%, 46%)
HSVhsv(304, 77%, 75%)
CMYKcmyk(0%, 77.1%, 4.7%, 24.7%)
CIE-LABlab(47.53, 71.01, -40.88)
CIE-LCHlch(47.53, 81.94, 330.07°)
OKLaboklab(57.85% 0.2022 -0.1128)
OKLCHoklch(57.85% 0.232 330.8)
XYZxyz(31.1861, 16.4293, 46.3192)
Luminance0.1643 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02CB7 #2CC035
analogous
#7F2CC0 #C02CB7 #C02C6D
triadic
#C02CB7 #B7C02C #2CB7C0
tetradic
#C02CB7 #C07F2C #2CC035 #2C6DC0
square
#C02CB7 #C07F2C #2CC035 #2C6DC0
split-complementary
#C02CB7 #6DC02C #2CC07F
monochromatic
#5C1558 #8E2188 #C02CB7 #D752CF #E384DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C02CB7#FFFFFF#000000##FFFFFF
##C02CB71.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)
#1964BB
Deuteranopia (green-blind)
#5C78B4
Tritanopia (blue-blind)
#C84071
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c02cb7;
/* rgb */ color: rgb(192, 44, 183);
/* oklch */ color: oklch(57.8% 0.232 330.8);
Tailwind
colors: {
  custom: {
    50: '#d776cd',
    500: '#c02cb7',
    950: '#000000',
  },
}
SCSS
$custom: #c02cb7;
$custom-light: #d776cd;
$custom-dark: #000000;
JSON
{
  "hex": "#c02cb7",
  "rgb": {
    "r": 192,
    "g": 44,
    "b": 183
  },
  "hsl": {
    "h": 303.649,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.57845,
    "c": 0.23158,
    "h": 330.8
  },
  "luminance": 0.16427
}

Semantic roles & 50–950 ramp

primary
#C02CB7
secondary
#7CCC81
accent
#E64C42
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #C02CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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