#C02EB7#C02EB7

#C02EB7 is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 58.0% C 0.230 H 330.8°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#C02EB7
RGBrgb(192, 46, 183)
HSLhsl(304, 61%, 47%)
HSVhsv(304, 76%, 75%)
CMYKcmyk(0%, 76%, 4.7%, 24.7%)
CIE-LABlab(47.73, 70.45, -40.57)
CIE-LCHlch(47.73, 81.29, 330.06°)
OKLaboklab(57.99% 0.2006 -0.1119)
OKLCHoklch(57.99% 0.23 330.8)
XYZxyz(31.2624, 16.5819, 46.3447)
Luminance0.1658 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02EB7 #2EC037
analogous
#802EC0 #C02EB7 #C02E6E
triadic
#C02EB7 #B7C02E #2EB7C0
tetradic
#C02EB7 #C0802E #2EC037 #2E6EC0
square
#C02EB7 #C0802E #2EC037 #2E6EC0
split-complementary
#C02EB7 #6EC02E #2EC080
monochromatic
#5D1659 #8F2288 #C02EB7 #D655CE #E286DC

Accessibility & contrast

On white

4.87
#C02EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#C02EB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02EB7
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02EB7#FFFFFF#000000##FFFFFF
##C02EB71.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D65BB
Deuteranopia (green-blind)
#5D78B4
Tritanopia (blue-blind)
#C84271
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c02eb7;
/* rgb */ color: rgb(192, 46, 183);
/* oklch */ color: oklch(58.0% 0.230 330.8);
Tailwind
colors: {
  custom: {
    50: '#d777cd',
    500: '#c02eb7',
    950: '#000000',
  },
}
SCSS
$custom: #c02eb7;
$custom-light: #d777cd;
$custom-dark: #000000;
JSON
{
  "hex": "#c02eb7",
  "rgb": {
    "r": 192,
    "g": 46,
    "b": 183
  },
  "hsl": {
    "h": 303.699,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.57985,
    "c": 0.22972,
    "h": 330.8
  },
  "luminance": 0.16579
}

Semantic roles & 50–950 ramp

primary
#C02EB7
secondary
#7ECC83
accent
#E44D43
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #C02EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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