#C02BB5#C02BB5

#C02BB5 is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.7% C 0.231 H 331.5°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#C02BB5
RGBrgb(192, 43, 181)
HSLhsl(304, 63%, 46%)
HSVhsv(304, 78%, 75%)
CMYKcmyk(0%, 77.6%, 5.7%, 24.7%)
CIE-LABlab(47.33, 70.98, -40.03)
CIE-LCHlch(47.33, 81.49, 330.58°)
OKLaboklab(57.67% 0.203 -0.1103)
OKLCHoklch(57.67% 0.231 331.5)
XYZxyz(30.9426, 16.2730, 45.2184)
Luminance0.1627 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02BB5 #2BC036
analogous
#802BC0 #C02BB5 #C02B6A
triadic
#C02BB5 #B5C02B #2BB5C0
tetradic
#C02BB5 #C0802B #2BC036 #2B6AC0
square
#C02BB5 #C0802B #2BC036 #2B6AC0
split-complementary
#C02BB5 #6AC02B #2BC080
monochromatic
#5C1557 #8E2086 #C02BB5 #D850CE #E382DC

Accessibility & contrast

On white

4.94
#C02BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#C02BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02BB5
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02BB5#FFFFFF#000000##FFFFFF
##C02BB51.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B63B9
Deuteranopia (green-blind)
#5D77B2
Tritanopia (blue-blind)
#C83F6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c02bb5;
/* rgb */ color: rgb(192, 43, 181);
/* oklch */ color: oklch(57.7% 0.231 331.5);
Tailwind
colors: {
  custom: {
    50: '#d776cb',
    500: '#c02bb5',
    950: '#000000',
  },
}
SCSS
$custom: #c02bb5;
$custom-light: #d776cb;
$custom-dark: #000000;
JSON
{
  "hex": "#c02bb5",
  "rgb": {
    "r": 192,
    "g": 43,
    "b": 181
  },
  "hsl": {
    "h": 304.43,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.57666,
    "c": 0.23106,
    "h": 331.5
  },
  "luminance": 0.1627
}

Semantic roles & 50–950 ramp

primary
#C02BB5
secondary
#7BCC81
accent
#E64E41
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #C02BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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