#C02ABB#C02ABB

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

Color values

HEX#C02ABB
RGBrgb(192, 42, 187)
HSLhsl(302, 64%, 46%)
HSVhsv(302, 78%, 75%)
CMYKcmyk(0%, 78.1%, 2.6%, 24.7%)
CIE-LABlab(47.56, 72.17, -43.17)
CIE-LCHlch(47.56, 84.09, 329.11°)
OKLaboklab(57.94% 0.2038 -0.1194)
OKLCHoklch(57.94% 0.236 329.6)
XYZxyz(31.5356, 16.4527, 48.5188)
Luminance0.1645 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02ABB #2AC02F
analogous
#7A2AC0 #C02ABB #C02A70
triadic
#C02ABB #BBC02A #2ABBC0
tetradic
#C02ABB #C07A2A #2AC02F #2A70C0
square
#C02ABB #C07A2A #2AC02F #2A70C0
split-complementary
#C02ABB #70C02A #2AC07A
monochromatic
#5C1459 #8E1F8A #C02ABB #D84FD4 #E381E0

Accessibility & contrast

On white

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

On black

4.29
#C02ABB on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C02ABB#FFFFFF#000000##FFFFFF
##C02ABB1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0964BF
Deuteranopia (green-blind)
#5978B7
Tritanopia (blue-blind)
#C74172
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c02abb;
/* rgb */ color: rgb(192, 42, 187);
/* oklch */ color: oklch(57.9% 0.236 329.6);
Tailwind
colors: {
  custom: {
    50: '#d776d0',
    500: '#c02abb',
    950: '#000000',
  },
}
SCSS
$custom: #c02abb;
$custom-light: #d776d0;
$custom-dark: #000000;
JSON
{
  "hex": "#c02abb",
  "rgb": {
    "r": 192,
    "g": 42,
    "b": 187
  },
  "hsl": {
    "h": 302,
    "s": 64.103,
    "l": 45.882
  },
  "oklch": {
    "l": 0.57937,
    "c": 0.2362,
    "h": 329.6
  },
  "luminance": 0.1645
}

Semantic roles & 50–950 ramp

primary
#C02ABB
secondary
#7ACC7C
accent
#E74641
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C02ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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