#C02BA9#C02BA9

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

Color values

HEX#C02BA9
RGBrgb(192, 43, 169)
HSLhsl(309, 63%, 46%)
HSVhsv(309, 78%, 75%)
CMYKcmyk(0%, 77.6%, 12%, 24.7%)
CIE-LABlab(46.71, 69.22, -33.92)
CIE-LCHlch(46.71, 77.09, 333.89°)
OKLaboklab(57.02% 0.2026 -0.0927)
OKLCHoklch(57.02% 0.223 335.4)
XYZxyz(29.7640, 15.8015, 39.0109)
Luminance0.1580 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02BA9 #2BC042
analogous
#8C2BC0 #C02BA9 #C02B5E
triadic
#C02BA9 #A9C02B #2BA9C0
tetradic
#C02BA9 #C08C2B #2BC042 #2B5EC0
square
#C02BA9 #C08C2B #2BC042 #2B5EC0
split-complementary
#C02BA9 #5EC02B #2BC08C
monochromatic
#5C1551 #8E207D #C02BA9 #D850C3 #E382D4

Accessibility & contrast

On white

5.05
#C02BA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#C02BA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02BA9
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02BA9#FFFFFF#000000##FFFFFF
##C02BA91.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B61AC
Deuteranopia (green-blind)
#6376A6
Tritanopia (blue-blind)
#CA3868
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c02ba9;
/* rgb */ color: rgb(192, 43, 169);
/* oklch */ color: oklch(57.0% 0.223 335.4);
Tailwind
colors: {
  custom: {
    50: '#d775c3',
    500: '#c02ba9',
    950: '#000000',
  },
}
SCSS
$custom: #c02ba9;
$custom-light: #d775c3;
$custom-dark: #000000;
JSON
{
  "hex": "#c02ba9",
  "rgb": {
    "r": 192,
    "g": 43,
    "b": 169
  },
  "hsl": {
    "h": 309.262,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.57024,
    "c": 0.22278,
    "h": 335.4
  },
  "luminance": 0.15799
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C02BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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