#C02EB0#C02EB0

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

Color values

HEX#C02EB0
RGBrgb(192, 46, 176)
HSLhsl(307, 61%, 47%)
HSVhsv(307, 76%, 75%)
CMYKcmyk(0%, 76%, 8.3%, 24.7%)
CIE-LABlab(47.36, 69.39, -37.04)
CIE-LCHlch(47.36, 78.66, 331.91°)
OKLaboklab(57.61% 0.2004 -0.1017)
OKLCHoklch(57.61% 0.225 333.1)
XYZxyz(30.5519, 16.2977, 42.6026)
Luminance0.1630 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02EB0 #2EC03E
analogous
#872EC0 #C02EB0 #C02E67
triadic
#C02EB0 #B0C02E #2EB0C0
tetradic
#C02EB0 #C0872E #2EC03E #2E67C0
square
#C02EB0 #C0872E #2EC03E #2E67C0
split-complementary
#C02EB0 #67C02E #2EC087
monochromatic
#5D1655 #8F2283 #C02EB0 #D655C8 #E286D8

Accessibility & contrast

On white

4.93
#C02EB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#C02EB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02EB0
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02EB0#FFFFFF#000000##FFFFFF
##C02EB01.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2763B3
Deuteranopia (green-blind)
#6078AD
Tritanopia (blue-blind)
#C93E6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c02eb0;
/* rgb */ color: rgb(192, 46, 176);
/* oklch */ color: oklch(57.6% 0.225 333.1);
Tailwind
colors: {
  custom: {
    50: '#d777c8',
    500: '#c02eb0',
    950: '#000000',
  },
}
SCSS
$custom: #c02eb0;
$custom-light: #d777c8;
$custom-dark: #000000;
JSON
{
  "hex": "#c02eb0",
  "rgb": {
    "r": 192,
    "g": 46,
    "b": 176
  },
  "hsl": {
    "h": 306.575,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.57605,
    "c": 0.22475,
    "h": 333.1
  },
  "luminance": 0.16295
}

Semantic roles & 50–950 ramp

primary
#C02EB0
secondary
#7ECC87
accent
#E45543
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C02EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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