#C02AB0#C02AB0

#C02AB0 is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.3% C 0.228 H 333.1°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#C02AB0
RGBrgb(192, 42, 176)
HSLhsl(306, 64%, 46%)
HSVhsv(306, 78%, 75%)
CMYKcmyk(0%, 78.1%, 8.3%, 24.7%)
CIE-LABlab(46.97, 70.51, -37.65)
CIE-LCHlch(46.97, 79.93, 331.90°)
OKLaboklab(57.33% 0.2037 -0.1034)
OKLCHoklch(57.33% 0.228 333.1)
XYZxyz(30.4029, 15.9996, 42.5529)
Luminance0.1600 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02AB0 #2AC03A
analogous
#852AC0 #C02AB0 #C02A65
triadic
#C02AB0 #B0C02A #2AB0C0
tetradic
#C02AB0 #C0852A #2AC03A #2A65C0
square
#C02AB0 #C0852A #2AC03A #2A65C0
split-complementary
#C02AB0 #65C02A #2AC085
monochromatic
#5C1454 #8E1F82 #C02AB0 #D84FCA #E381D9

Accessibility & contrast

On white

5.00
#C02AB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#C02AB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02AB0
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02AB0#FFFFFF#000000##FFFFFF
##C02AB01.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2262B3
Deuteranopia (green-blind)
#5F77AD
Tritanopia (blue-blind)
#C93B6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c02ab0;
/* rgb */ color: rgb(192, 42, 176);
/* oklch */ color: oklch(57.3% 0.228 333.1);
Tailwind
colors: {
  custom: {
    50: '#d775c8',
    500: '#c02ab0',
    950: '#000000',
  },
}
SCSS
$custom: #c02ab0;
$custom-light: #d775c8;
$custom-dark: #000000;
JSON
{
  "hex": "#c02ab0",
  "rgb": {
    "r": 192,
    "g": 42,
    "b": 176
  },
  "hsl": {
    "h": 306.4,
    "s": 64.103,
    "l": 45.882
  },
  "oklch": {
    "l": 0.57326,
    "c": 0.22845,
    "h": 333.1
  },
  "luminance": 0.15997
}

Semantic roles & 50–950 ramp

primary
#C02AB0
secondary
#7ACC82
accent
#E75241
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C02AB0

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

Preview Lab → · Contrast checker → · Palette generator →

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