#C02ABE#C02ABE

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

Color values

HEX#C02ABE
RGBrgb(192, 42, 190)
HSLhsl(301, 64%, 46%)
HSVhsv(301, 78%, 75%)
CMYKcmyk(0%, 78.1%, 1%, 24.7%)
CIE-LABlab(47.73, 72.63, -44.66)
CIE-LCHlch(47.73, 85.26, 328.42°)
OKLaboklab(58.11% 0.2037 -0.1238)
OKLCHoklch(58.11% 0.238 328.7)
XYZxyz(31.8602, 16.5825, 50.2279)
Luminance0.1658 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02ABE #2AC02C
analogous
#772AC0 #C02ABE #C02A73
triadic
#C02ABE #BEC02A #2ABEC0
tetradic
#C02ABE #C0772A #2AC02C #2A73C0
square
#C02ABE #C0772A #2AC02C #2A73C0
split-complementary
#C02ABE #73C02A #2AC077
monochromatic
#5C145B #8E1F8C #C02ABE #D84FD7 #E381E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C02ABE#FFFFFF#000000##FFFFFF
##C02ABE1.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)
#0065C2
Deuteranopia (green-blind)
#5778BA
Tritanopia (blue-blind)
#C74374
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c02abe;
/* rgb */ color: rgb(192, 42, 190);
/* oklch */ color: oklch(58.1% 0.238 328.7);
Tailwind
colors: {
  custom: {
    50: '#d776d2',
    500: '#c02abe',
    950: '#000000',
  },
}
SCSS
$custom: #c02abe;
$custom-light: #d776d2;
$custom-dark: #000000;
JSON
{
  "hex": "#c02abe",
  "rgb": {
    "r": 192,
    "g": 42,
    "b": 190
  },
  "hsl": {
    "h": 300.8,
    "s": 64.103,
    "l": 45.882
  },
  "oklch": {
    "l": 0.58109,
    "c": 0.23836,
    "h": 328.7
  },
  "luminance": 0.1658
}

Semantic roles & 50–950 ramp

primary
#C02ABE
secondary
#7ACC7B
accent
#E74341
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C02ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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