#C02EB2#C02EB2

#C02EB2 is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.7% C 0.226 H 332.4°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#C02EB2
RGBrgb(192, 46, 178)
HSLhsl(306, 61%, 47%)
HSVhsv(306, 76%, 75%)
CMYKcmyk(0%, 76%, 7.3%, 24.7%)
CIE-LABlab(47.47, 69.69, -38.05)
CIE-LCHlch(47.47, 79.40, 331.37°)
OKLaboklab(57.71% 0.2005 -0.1046)
OKLCHoklch(57.71% 0.226 332.4)
XYZxyz(30.7512, 16.3774, 43.6524)
Luminance0.1638 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02EB2 #2EC03C
analogous
#852EC0 #C02EB2 #C02E69
triadic
#C02EB2 #B2C02E #2EB2C0
tetradic
#C02EB2 #C0852E #2EC03C #2E69C0
square
#C02EB2 #C0852E #2EC03C #2E69C0
split-complementary
#C02EB2 #69C02E #2EC085
monochromatic
#5D1656 #8F2284 #C02EB2 #D655CA #E286D9

Accessibility & contrast

On white

4.91
#C02EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C02EB2
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02EB2#FFFFFF#000000##FFFFFF
##C02EB21.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2463B6
Deuteranopia (green-blind)
#5F78AF
Tritanopia (blue-blind)
#C83F6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c02eb2;
/* rgb */ color: rgb(192, 46, 178);
/* oklch */ color: oklch(57.7% 0.226 332.4);
Tailwind
colors: {
  custom: {
    50: '#d777c9',
    500: '#c02eb2',
    950: '#000000',
  },
}
SCSS
$custom: #c02eb2;
$custom-light: #d777c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c02eb2",
  "rgb": {
    "r": 192,
    "g": 46,
    "b": 178
  },
  "hsl": {
    "h": 305.753,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.57712,
    "c": 0.22616,
    "h": 332.4
  },
  "luminance": 0.16375
}

Semantic roles & 50–950 ramp

primary
#C02EB2
secondary
#7ECC86
accent
#E45343
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C02EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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