#C02BC4#C02BC4

#C02BC4 is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.5% C 0.242 H 326.9°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#C02BC4
RGBrgb(192, 43, 196)
HSLhsl(298, 64%, 47%)
HSVhsv(298, 78%, 77%)
CMYKcmyk(2%, 78.1%, 0%, 23.1%)
CIE-LABlab(48.16, 73.31, -47.46)
CIE-LCHlch(48.16, 87.33, 327.08°)
OKLaboklab(58.53% 0.2027 -0.1319)
OKLCHoklch(58.53% 0.242 326.9)
XYZxyz(32.5654, 16.9221, 53.7649)
Luminance0.1692 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02BC4 #2FC42B
analogous
#732BC4 #C02BC4 #C42B7C
triadic
#C02BC4 #C4C02B #2BC4C0
tetradic
#C02BC4 #C4732B #2FC42B #2B7CC4
square
#C02BC4 #C4732B #2FC42B #2B7CC4
split-complementary
#C02BC4 #7CC42B #2BC473
monochromatic
#5E1560 #8F2092 #C02BC4 #D653D9 #E285E4

Accessibility & contrast

On white

4.79
#C02BC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#C02BC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02BC4
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02BC4#FFFFFF#000000##FFFFFF
##C02BC41.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C8
Deuteranopia (green-blind)
#5479C0
Tritanopia (blue-blind)
#C54778
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c02bc4;
/* rgb */ color: rgb(192, 43, 196);
/* oklch */ color: oklch(58.5% 0.242 326.9);
Tailwind
colors: {
  custom: {
    50: '#d777d6',
    500: '#c02bc4',
    950: '#000000',
  },
}
SCSS
$custom: #c02bc4;
$custom-light: #d777d6;
$custom-dark: #000000;
JSON
{
  "hex": "#c02bc4",
  "rgb": {
    "r": 192,
    "g": 43,
    "b": 196
  },
  "hsl": {
    "h": 298.431,
    "s": 64.017,
    "l": 46.863
  },
  "oklch": {
    "l": 0.58526,
    "c": 0.24187,
    "h": 326.9
  },
  "luminance": 0.1692
}

Semantic roles & 50–950 ramp

primary
#C02BC4
secondary
#7FCE7D
accent
#E74145
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #C02BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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