#C02EB3#C02EB3

#C02EB3 is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.8% C 0.227 H 332.1°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#C02EB3
RGBrgb(192, 46, 179)
HSLhsl(305, 61%, 47%)
HSVhsv(305, 76%, 75%)
CMYKcmyk(0%, 76%, 6.8%, 24.7%)
CIE-LABlab(47.52, 69.84, -38.55)
CIE-LCHlch(47.52, 79.78, 331.10°)
OKLaboklab(57.77% 0.2005 -0.1061)
OKLCHoklch(57.77% 0.227 332.1)
XYZxyz(30.8520, 16.4177, 44.1831)
Luminance0.1641 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02EB3 #2EC03B
analogous
#842EC0 #C02EB3 #C02E6A
triadic
#C02EB3 #B3C02E #2EB3C0
tetradic
#C02EB3 #C0842E #2EC03B #2E6AC0
square
#C02EB3 #C0842E #2EC03B #2E6AC0
split-complementary
#C02EB3 #6AC02E #2EC084
monochromatic
#5D1657 #8F2285 #C02EB3 #D655CB #E286DA

Accessibility & contrast

On white

4.90
#C02EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#C02EB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02EB3
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02EB3#FFFFFF#000000##FFFFFF
##C02EB31.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2364B7
Deuteranopia (green-blind)
#5F78B0
Tritanopia (blue-blind)
#C8406F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c02eb3;
/* rgb */ color: rgb(192, 46, 179);
/* oklch */ color: oklch(57.8% 0.227 332.1);
Tailwind
colors: {
  custom: {
    50: '#d777ca',
    500: '#c02eb3',
    950: '#000000',
  },
}
SCSS
$custom: #c02eb3;
$custom-light: #d777ca;
$custom-dark: #000000;
JSON
{
  "hex": "#c02eb3",
  "rgb": {
    "r": 192,
    "g": 46,
    "b": 179
  },
  "hsl": {
    "h": 305.342,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.57766,
    "c": 0.22687,
    "h": 332.1
  },
  "luminance": 0.16415
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C02EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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