#C02EB5#C02EB5

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

Color values

HEX#C02EB5
RGBrgb(192, 46, 181)
HSLhsl(305, 61%, 47%)
HSVhsv(305, 76%, 75%)
CMYKcmyk(0%, 76%, 5.7%, 24.7%)
CIE-LABlab(47.62, 70.14, -39.56)
CIE-LCHlch(47.62, 80.53, 330.58°)
OKLaboklab(57.88% 0.2006 -0.109)
OKLCHoklch(57.88% 0.228 331.5)
XYZxyz(31.0557, 16.4992, 45.2561)
Luminance0.1650 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02EB5 #2EC039
analogous
#822EC0 #C02EB5 #C02E6C
triadic
#C02EB5 #B5C02E #2EB5C0
tetradic
#C02EB5 #C0822E #2EC039 #2E6CC0
square
#C02EB5 #C0822E #2EC039 #2E6CC0
split-complementary
#C02EB5 #6CC02E #2EC082
monochromatic
#5D1658 #8F2286 #C02EB5 #D655CD #E286DB

Accessibility & contrast

On white

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

On black

4.30
#C02EB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C02EB5#FFFFFF#000000##FFFFFF
##C02EB51.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2064B9
Deuteranopia (green-blind)
#5E78B2
Tritanopia (blue-blind)
#C84170
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c02eb5;
/* rgb */ color: rgb(192, 46, 181);
/* oklch */ color: oklch(57.9% 0.228 331.5);
Tailwind
colors: {
  custom: {
    50: '#d777cb',
    500: '#c02eb5',
    950: '#000000',
  },
}
SCSS
$custom: #c02eb5;
$custom-light: #d777cb;
$custom-dark: #000000;
JSON
{
  "hex": "#c02eb5",
  "rgb": {
    "r": 192,
    "g": 46,
    "b": 181
  },
  "hsl": {
    "h": 304.521,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.57875,
    "c": 0.22829,
    "h": 331.5
  },
  "luminance": 0.16497
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C02EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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