#C02BBD#C02BBD

#C02BBD is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 58.1% C 0.237 H 329.0°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#C02BBD
RGBrgb(192, 43, 189)
HSLhsl(301, 63%, 46%)
HSVhsv(301, 78%, 75%)
CMYKcmyk(0%, 77.6%, 1.6%, 24.7%)
CIE-LABlab(47.77, 72.21, -44.02)
CIE-LCHlch(47.77, 84.57, 328.64°)
OKLaboklab(58.12% 0.203 -0.1219)
OKLCHoklch(58.12% 0.237 329)
XYZxyz(31.7871, 16.6108, 49.6663)
Luminance0.1661 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02BBD #2BC02E
analogous
#782BC0 #C02BBD #C02B72
triadic
#C02BBD #BDC02B #2BBDC0
tetradic
#C02BBD #C0782B #2BC02E #2B72C0
square
#C02BBD #C0782B #2BC02E #2B72C0
split-complementary
#C02BBD #72C02B #2BC078
monochromatic
#5C155B #8E208C #C02BBD #D850D5 #E382E1

Accessibility & contrast

On white

4.86
#C02BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#C02BBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02BBD
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02BBD#FFFFFF#000000##FFFFFF
##C02BBD1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0565C1
Deuteranopia (green-blind)
#5878B9
Tritanopia (blue-blind)
#C74374
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c02bbd;
/* rgb */ color: rgb(192, 43, 189);
/* oklch */ color: oklch(58.1% 0.237 329.0);
Tailwind
colors: {
  custom: {
    50: '#d776d1',
    500: '#c02bbd',
    950: '#000000',
  },
}
SCSS
$custom: #c02bbd;
$custom-light: #d776d1;
$custom-dark: #000000;
JSON
{
  "hex": "#c02bbd",
  "rgb": {
    "r": 192,
    "g": 43,
    "b": 189
  },
  "hsl": {
    "h": 301.208,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.58117,
    "c": 0.23677,
    "h": 329
  },
  "luminance": 0.16608
}

Semantic roles & 50–950 ramp

primary
#C02BBD
secondary
#7BCC7C
accent
#E64541
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C02BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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