#C02BC2#C02BC2

#C02BC2 is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 58.4% C 0.240 H 327.5°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#C02BC2
RGBrgb(192, 43, 194)
HSLhsl(299, 64%, 46%)
HSVhsv(299, 78%, 76%)
CMYKcmyk(1%, 77.8%, 0%, 23.9%)
CIE-LABlab(48.05, 73.00, -46.48)
CIE-LCHlch(48.05, 86.54, 327.51°)
OKLaboklab(58.41% 0.2028 -0.1291)
OKLCHoklch(58.41% 0.24 327.5)
XYZxyz(32.3393, 16.8316, 52.5740)
Luminance0.1683 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02BC2 #2DC22B
analogous
#752BC2 #C02BC2 #C22B79
triadic
#C02BC2 #C2C02B #2BC2C0
tetradic
#C02BC2 #C2752B #2DC22B #2B79C2
square
#C02BC2 #C2752B #2DC22B #2B79C2
split-complementary
#C02BC2 #79C22B #2BC275
monochromatic
#5D155E #8E2090 #C02BC2 #D752D9 #E284E4

Accessibility & contrast

On white

4.81
#C02BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#C02BC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02BC2
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02BC2#FFFFFF#000000##FFFFFF
##C02BC21.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#5578BE
Tritanopia (blue-blind)
#C64677
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c02bc2;
/* rgb */ color: rgb(192, 43, 194);
/* oklch */ color: oklch(58.4% 0.240 327.5);
Tailwind
colors: {
  custom: {
    50: '#d776d5',
    500: '#c02bc2',
    950: '#000000',
  },
}
SCSS
$custom: #c02bc2;
$custom-light: #d776d5;
$custom-dark: #000000;
JSON
{
  "hex": "#c02bc2",
  "rgb": {
    "r": 192,
    "g": 43,
    "b": 194
  },
  "hsl": {
    "h": 299.205,
    "s": 63.713,
    "l": 46.471
  },
  "oklch": {
    "l": 0.58408,
    "c": 0.24041,
    "h": 327.5
  },
  "luminance": 0.16829
}

Semantic roles & 50–950 ramp

primary
#C02BC2
secondary
#7DCD7C
accent
#E74143
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #C02BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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