#C42BBC#C42BBC

#C42BBC is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.7% C 0.238 H 330.5°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#C42BBC
RGBrgb(196, 43, 188)
HSLhsl(303, 64%, 47%)
HSVhsv(303, 78%, 77%)
CMYKcmyk(0%, 78.1%, 4.1%, 23.1%)
CIE-LABlab(48.38, 72.87, -42.41)
CIE-LCHlch(48.38, 84.31, 329.80°)
OKLaboklab(58.67% 0.207 -0.1171)
OKLCHoklch(58.67% 0.238 330.5)
XYZxyz(32.7058, 17.0970, 49.1447)
Luminance0.1709 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42BBC #2BC433
analogous
#802BC4 #C42BBC #C42B70
triadic
#C42BBC #BCC42B #2BBCC4
tetradic
#C42BBC #C4802B #2BC433 #2B70C4
square
#C42BBC #C4802B #2BC433 #2B70C4
split-complementary
#C42BBC #70C42B #2BC480
monochromatic
#60155C #92208C #C42BBC #D953D2 #E485DF

Accessibility & contrast

On white

4.75
#C42BBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#C42BBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C42BBC
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C42BBC#FFFFFF#000000##FFFFFF
##C42BBC1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1366C0
Deuteranopia (green-blind)
#5D7AB8
Tritanopia (blue-blind)
#CC4173
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c42bbc;
/* rgb */ color: rgb(196, 43, 188);
/* oklch */ color: oklch(58.7% 0.238 330.5);
Tailwind
colors: {
  custom: {
    50: '#da77d1',
    500: '#c42bbc',
    950: '#000000',
  },
}
SCSS
$custom: #c42bbc;
$custom-light: #da77d1;
$custom-dark: #000000;
JSON
{
  "hex": "#c42bbc",
  "rgb": {
    "r": 196,
    "g": 43,
    "b": 188
  },
  "hsl": {
    "h": 303.137,
    "s": 64.017,
    "l": 46.863
  },
  "oklch": {
    "l": 0.58666,
    "c": 0.23788,
    "h": 330.5
  },
  "luminance": 0.17094
}

Semantic roles & 50–950 ramp

primary
#C42BBC
secondary
#7DCE81
accent
#E74941
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C42BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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