#C02EB6#C02EB6

#C02EB6 is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.9% C 0.229 H 331.2°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#C02EB6
RGBrgb(192, 46, 182)
HSLhsl(304, 61%, 47%)
HSVhsv(304, 76%, 75%)
CMYKcmyk(0%, 76%, 5.2%, 24.7%)
CIE-LABlab(47.68, 70.30, -40.07)
CIE-LCHlch(47.68, 80.91, 330.32°)
OKLaboklab(57.93% 0.2006 -0.1105)
OKLCHoklch(57.93% 0.229 331.2)
XYZxyz(31.1587, 16.5404, 45.7984)
Luminance0.1654 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02EB6 #2EC038
analogous
#812EC0 #C02EB6 #C02E6D
triadic
#C02EB6 #B6C02E #2EB6C0
tetradic
#C02EB6 #C0812E #2EC038 #2E6DC0
square
#C02EB6 #C0812E #2EC038 #2E6DC0
split-complementary
#C02EB6 #6DC02E #2EC081
monochromatic
#5D1658 #8F2287 #C02EB6 #D655CD #E286DC

Accessibility & contrast

On white

4.88
#C02EB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#C02EB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02EB6
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02EB6#FFFFFF#000000##FFFFFF
##C02EB61.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E64BA
Deuteranopia (green-blind)
#5D78B3
Tritanopia (blue-blind)
#C84170
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c02eb6;
/* rgb */ color: rgb(192, 46, 182);
/* oklch */ color: oklch(57.9% 0.229 331.2);
Tailwind
colors: {
  custom: {
    50: '#d777cc',
    500: '#c02eb6',
    950: '#000000',
  },
}
SCSS
$custom: #c02eb6;
$custom-light: #d777cc;
$custom-dark: #000000;
JSON
{
  "hex": "#c02eb6",
  "rgb": {
    "r": 192,
    "g": 46,
    "b": 182
  },
  "hsl": {
    "h": 304.11,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.5793,
    "c": 0.22901,
    "h": 331.2
  },
  "luminance": 0.16538
}

Semantic roles & 50–950 ramp

primary
#C02EB6
secondary
#7ECC84
accent
#E44E43
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #C02EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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