#C02BBA#C02BBA

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

Color values

HEX#C02BBA
RGBrgb(192, 43, 186)
HSLhsl(302, 63%, 46%)
HSVhsv(302, 78%, 75%)
CMYKcmyk(0%, 77.6%, 3.1%, 24.7%)
CIE-LABlab(47.60, 71.75, -42.53)
CIE-LCHlch(47.60, 83.40, 329.34°)
OKLaboklab(57.95% 0.203 -0.1176)
OKLCHoklch(57.95% 0.235 329.9)
XYZxyz(31.4649, 16.4819, 47.9690)
Luminance0.1648 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02BBA #2BC031
analogous
#7B2BC0 #C02BBA #C02B6F
triadic
#C02BBA #BAC02B #2BBAC0
tetradic
#C02BBA #C07B2B #2BC031 #2B6FC0
square
#C02BBA #C07B2B #2BC031 #2B6FC0
split-complementary
#C02BBA #6FC02B #2BC07B
monochromatic
#5C1559 #8E208A #C02BBA #D850D2 #E382DF

Accessibility & contrast

On white

4.89
#C02BBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#C02BBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02BBA
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02BBA#FFFFFF#000000##FFFFFF
##C02BBA1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1064BE
Deuteranopia (green-blind)
#5A78B6
Tritanopia (blue-blind)
#C74172
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c02bba;
/* rgb */ color: rgb(192, 43, 186);
/* oklch */ color: oklch(57.9% 0.235 329.9);
Tailwind
colors: {
  custom: {
    50: '#d776cf',
    500: '#c02bba',
    950: '#000000',
  },
}
SCSS
$custom: #c02bba;
$custom-light: #d776cf;
$custom-dark: #000000;
JSON
{
  "hex": "#c02bba",
  "rgb": {
    "r": 192,
    "g": 43,
    "b": 186
  },
  "hsl": {
    "h": 302.416,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.57946,
    "c": 0.23461,
    "h": 329.9
  },
  "luminance": 0.16479
}

Semantic roles & 50–950 ramp

primary
#C02BBA
secondary
#7BCC7E
accent
#E64841
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C02BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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