#C02BAA#C02BAA

#C02BAA is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 57.1% C 0.223 H 335.1°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#C02BAA
RGBrgb(192, 43, 170)
HSLhsl(309, 63%, 46%)
HSVhsv(309, 78%, 75%)
CMYKcmyk(0%, 77.6%, 11.5%, 24.7%)
CIE-LABlab(46.76, 69.37, -34.44)
CIE-LCHlch(46.76, 77.44, 333.60°)
OKLaboklab(57.08% 0.2026 -0.0942)
OKLCHoklch(57.08% 0.223 335.1)
XYZxyz(29.8582, 15.8392, 39.5072)
Luminance0.1584 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02BAA #2BC041
analogous
#8B2BC0 #C02BAA #C02B5F
triadic
#C02BAA #AAC02B #2BAAC0
tetradic
#C02BAA #C08B2B #2BC041 #2B5FC0
square
#C02BAA #C08B2B #2BC041 #2B5FC0
split-complementary
#C02BAA #5FC02B #2BC08B
monochromatic
#5C1551 #8E207E #C02BAA #D850C4 #E382D5

Accessibility & contrast

On white

5.04
#C02BAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#C02BAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02BAA
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02BAA#FFFFFF#000000##FFFFFF
##C02BAA1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A61AD
Deuteranopia (green-blind)
#6277A7
Tritanopia (blue-blind)
#CA3969
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c02baa;
/* rgb */ color: rgb(192, 43, 170);
/* oklch */ color: oklch(57.1% 0.223 335.1);
Tailwind
colors: {
  custom: {
    50: '#d775c3',
    500: '#c02baa',
    950: '#000000',
  },
}
SCSS
$custom: #c02baa;
$custom-light: #d775c3;
$custom-dark: #000000;
JSON
{
  "hex": "#c02baa",
  "rgb": {
    "r": 192,
    "g": 43,
    "b": 170
  },
  "hsl": {
    "h": 308.859,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.57076,
    "c": 0.22345,
    "h": 335.1
  },
  "luminance": 0.15837
}

Semantic roles & 50–950 ramp

primary
#C02BAA
secondary
#7BCC87
accent
#E65A41
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A12
muted
#837C81

Preview Lab

Preview with #C02BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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