#C02CB3#C02CB3

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

Color values

HEX#C02CB3
RGBrgb(192, 44, 179)
HSLhsl(305, 63%, 46%)
HSVhsv(305, 77%, 75%)
CMYKcmyk(0%, 77.1%, 6.8%, 24.7%)
CIE-LABlab(47.32, 70.41, -38.87)
CIE-LCHlch(47.32, 80.42, 331.10°)
OKLaboklab(57.63% 0.2022 -0.107)
OKLCHoklch(57.63% 0.229 332.1)
XYZxyz(30.7757, 16.2651, 44.1577)
Luminance0.1626 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02CB3 #2CC039
analogous
#832CC0 #C02CB3 #C02C69
triadic
#C02CB3 #B3C02C #2CB3C0
tetradic
#C02CB3 #C0832C #2CC039 #2C69C0
square
#C02CB3 #C0832C #2CC039 #2C69C0
split-complementary
#C02CB3 #69C02C #2CC083
monochromatic
#5C1556 #8E2185 #C02CB3 #D752CC #E384DA

Accessibility & contrast

On white

4.94
#C02CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#C02CB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02CB3
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02CB3#FFFFFF#000000##FFFFFF
##C02CB31.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2063B7
Deuteranopia (green-blind)
#5E77B0
Tritanopia (blue-blind)
#C83E6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c02cb3;
/* rgb */ color: rgb(192, 44, 179);
/* oklch */ color: oklch(57.6% 0.229 332.1);
Tailwind
colors: {
  custom: {
    50: '#d776ca',
    500: '#c02cb3',
    950: '#000000',
  },
}
SCSS
$custom: #c02cb3;
$custom-light: #d776ca;
$custom-dark: #000000;
JSON
{
  "hex": "#c02cb3",
  "rgb": {
    "r": 192,
    "g": 44,
    "b": 179
  },
  "hsl": {
    "h": 305.27,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.57625,
    "c": 0.22874,
    "h": 332.1
  },
  "luminance": 0.16263
}

Semantic roles & 50–950 ramp

primary
#C02CB3
secondary
#7CCC83
accent
#E65042
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C02CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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