#C02EB4#C02EB4

#C02EB4 is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.8% C 0.228 H 331.8°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#C02EB4
RGBrgb(192, 46, 180)
HSLhsl(305, 61%, 47%)
HSVhsv(305, 76%, 75%)
CMYKcmyk(0%, 76%, 6.2%, 24.7%)
CIE-LABlab(47.57, 69.99, -39.06)
CIE-LCHlch(47.57, 80.15, 330.84°)
OKLaboklab(57.82% 0.2006 -0.1075)
OKLCHoklch(57.82% 0.228 331.8)
XYZxyz(30.9535, 16.4583, 44.7177)
Luminance0.1646 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02EB4 #2EC03A
analogous
#832EC0 #C02EB4 #C02E6B
triadic
#C02EB4 #B4C02E #2EB4C0
tetradic
#C02EB4 #C0832E #2EC03A #2E6BC0
square
#C02EB4 #C0832E #2EC03A #2E6BC0
split-complementary
#C02EB4 #6BC02E #2EC083
monochromatic
#5D1657 #8F2286 #C02EB4 #D655CC #E286DB

Accessibility & contrast

On white

4.89
#C02EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C02EB4
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02EB4#FFFFFF#000000##FFFFFF
##C02EB41.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2164B8
Deuteranopia (green-blind)
#5E78B1
Tritanopia (blue-blind)
#C8406F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c02eb4;
/* rgb */ color: rgb(192, 46, 180);
/* oklch */ color: oklch(57.8% 0.228 331.8);
Tailwind
colors: {
  custom: {
    50: '#d777cb',
    500: '#c02eb4',
    950: '#000000',
  },
}
SCSS
$custom: #c02eb4;
$custom-light: #d777cb;
$custom-dark: #000000;
JSON
{
  "hex": "#c02eb4",
  "rgb": {
    "r": 192,
    "g": 46,
    "b": 180
  },
  "hsl": {
    "h": 304.932,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.5782,
    "c": 0.22758,
    "h": 331.8
  },
  "luminance": 0.16456
}

Semantic roles & 50–950 ramp

primary
#C02EB4
secondary
#7ECC85
accent
#E45143
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C02EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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