#C02BAE#C02BAE

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

Color values

HEX#C02BAE
RGBrgb(192, 43, 174)
HSLhsl(307, 63%, 46%)
HSVhsv(307, 78%, 75%)
CMYKcmyk(0%, 77.6%, 9.4%, 24.7%)
CIE-LABlab(46.97, 69.95, -36.48)
CIE-LCHlch(46.97, 78.89, 332.45°)
OKLaboklab(57.29% 0.2028 -0.1001)
OKLCHoklch(57.29% 0.226 333.7)
XYZxyz(30.2424, 15.9929, 41.5304)
Luminance0.1599 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02BAE #2BC03D
analogous
#872BC0 #C02BAE #C02B63
triadic
#C02BAE #AEC02B #2BAEC0
tetradic
#C02BAE #C0872B #2BC03D #2B63C0
square
#C02BAE #C0872B #2BC03D #2B63C0
split-complementary
#C02BAE #63C02B #2BC087
monochromatic
#5C1553 #8E2081 #C02BAE #D850C8 #E382D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C02BAE#FFFFFF#000000##FFFFFF
##C02BAE1.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)
#2662B1
Deuteranopia (green-blind)
#6077AB
Tritanopia (blue-blind)
#C93B6B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c02bae;
/* rgb */ color: rgb(192, 43, 174);
/* oklch */ color: oklch(57.3% 0.226 333.7);
Tailwind
colors: {
  custom: {
    50: '#d776c6',
    500: '#c02bae',
    950: '#000000',
  },
}
SCSS
$custom: #c02bae;
$custom-light: #d776c6;
$custom-dark: #000000;
JSON
{
  "hex": "#c02bae",
  "rgb": {
    "r": 192,
    "g": 43,
    "b": 174
  },
  "hsl": {
    "h": 307.248,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.57287,
    "c": 0.22618,
    "h": 333.7
  },
  "luminance": 0.1599
}

Semantic roles & 50–950 ramp

primary
#C02BAE
secondary
#7BCC85
accent
#E65541
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C02BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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