#C02CB5#C02CB5

#C02CB5 is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.7% C 0.230 H 331.5°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#C02CB5
RGBrgb(192, 44, 181)
HSLhsl(304, 63%, 46%)
HSVhsv(304, 77%, 75%)
CMYKcmyk(0%, 77.1%, 5.7%, 24.7%)
CIE-LABlab(47.43, 70.71, -39.87)
CIE-LCHlch(47.43, 81.18, 330.58°)
OKLaboklab(57.73% 0.2022 -0.1099)
OKLCHoklch(57.73% 0.23 331.5)
XYZxyz(30.9794, 16.3466, 45.2307)
Luminance0.1634 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02CB5 #2CC037
analogous
#812CC0 #C02CB5 #C02C6B
triadic
#C02CB5 #B5C02C #2CB5C0
tetradic
#C02CB5 #C0812C #2CC037 #2C6BC0
square
#C02CB5 #C0812C #2CC037 #2C6BC0
split-complementary
#C02CB5 #6BC02C #2CC081
monochromatic
#5C1557 #8E2186 #C02CB5 #D752CD #E384DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C02CB5#FFFFFF#000000##FFFFFF
##C02CB51.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)
#1D63B9
Deuteranopia (green-blind)
#5D78B2
Tritanopia (blue-blind)
#C83F6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c02cb5;
/* rgb */ color: rgb(192, 44, 181);
/* oklch */ color: oklch(57.7% 0.230 331.5);
Tailwind
colors: {
  custom: {
    50: '#d776cb',
    500: '#c02cb5',
    950: '#000000',
  },
}
SCSS
$custom: #c02cb5;
$custom-light: #d776cb;
$custom-dark: #000000;
JSON
{
  "hex": "#c02cb5",
  "rgb": {
    "r": 192,
    "g": 44,
    "b": 181
  },
  "hsl": {
    "h": 304.459,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.57734,
    "c": 0.23015,
    "h": 331.5
  },
  "luminance": 0.16344
}

Semantic roles & 50–950 ramp

primary
#C02CB5
secondary
#7CCC82
accent
#E64E42
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #C02CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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