#C02BBB#C02BBB

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

Color values

HEX#C02BBB
RGBrgb(192, 43, 187)
HSLhsl(302, 63%, 46%)
HSVhsv(302, 78%, 75%)
CMYKcmyk(0%, 77.6%, 2.6%, 24.7%)
CIE-LABlab(47.66, 71.90, -43.02)
CIE-LCHlch(47.66, 83.79, 329.10°)
OKLaboklab(58% 0.203 -0.119)
OKLCHoklch(58% 0.235 329.6)
XYZxyz(31.5716, 16.5246, 48.5308)
Luminance0.1652 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02BBB #2BC030
analogous
#7A2BC0 #C02BBB #C02B71
triadic
#C02BBB #BBC02B #2BBBC0
tetradic
#C02BBB #C07A2B #2BC030 #2B71C0
square
#C02BBB #C07A2B #2BC030 #2B71C0
split-complementary
#C02BBB #71C02B #2BC07A
monochromatic
#5C155A #8E208A #C02BBB #D850D3 #E382E0

Accessibility & contrast

On white

4.88
#C02BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C02BBB
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02BBB#FFFFFF#000000##FFFFFF
##C02BBB1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D64BF
Deuteranopia (green-blind)
#5A78B7
Tritanopia (blue-blind)
#C74273
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c02bbb;
/* rgb */ color: rgb(192, 43, 187);
/* oklch */ color: oklch(58.0% 0.235 329.6);
Tailwind
colors: {
  custom: {
    50: '#d776d0',
    500: '#c02bbb',
    950: '#000000',
  },
}
SCSS
$custom: #c02bbb;
$custom-light: #d776d0;
$custom-dark: #000000;
JSON
{
  "hex": "#c02bbb",
  "rgb": {
    "r": 192,
    "g": 43,
    "b": 187
  },
  "hsl": {
    "h": 302.013,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.58003,
    "c": 0.23533,
    "h": 329.6
  },
  "luminance": 0.16522
}

Semantic roles & 50–950 ramp

primary
#C02BBB
secondary
#7BCC7D
accent
#E64741
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C02BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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