#C42BBF#C42BBF

#C42BBF is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.8% C 0.240 H 329.6°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#C42BBF
RGBrgb(196, 43, 191)
HSLhsl(302, 64%, 47%)
HSVhsv(302, 78%, 77%)
CMYKcmyk(0%, 78.1%, 2.6%, 23.1%)
CIE-LABlab(48.55, 73.32, -43.90)
CIE-LCHlch(48.55, 85.46, 329.09°)
OKLaboklab(58.84% 0.207 -0.1215)
OKLCHoklch(58.84% 0.24 329.6)
XYZxyz(33.0326, 17.2277, 50.8656)
Luminance0.1722 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42BBF #2BC430
analogous
#7D2BC4 #C42BBF #C42B73
triadic
#C42BBF #BFC42B #2BBFC4
tetradic
#C42BBF #C47D2B #2BC430 #2B73C4
square
#C42BBF #C47D2B #2BC430 #2B73C4
split-complementary
#C42BBF #73C42B #2BC47D
monochromatic
#60155D #92208E #C42BBF #D953D5 #E485E1

Accessibility & contrast

On white

4.72
#C42BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#C42BBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C42BBF
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C42BBF#FFFFFF#000000##FFFFFF
##C42BBF1.004.724.444.72
#FFFFFF4.721.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0966C3
Deuteranopia (green-blind)
#5B7ABB
Tritanopia (blue-blind)
#CB4375
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c42bbf;
/* rgb */ color: rgb(196, 43, 191);
/* oklch */ color: oklch(58.8% 0.240 329.6);
Tailwind
colors: {
  custom: {
    50: '#da77d3',
    500: '#c42bbf',
    950: '#000000',
  },
}
SCSS
$custom: #c42bbf;
$custom-light: #da77d3;
$custom-dark: #000000;
JSON
{
  "hex": "#c42bbf",
  "rgb": {
    "r": 196,
    "g": 43,
    "b": 191
  },
  "hsl": {
    "h": 301.961,
    "s": 64.017,
    "l": 46.863
  },
  "oklch": {
    "l": 0.58835,
    "c": 0.24001,
    "h": 329.6
  },
  "luminance": 0.17225
}

Semantic roles & 50–950 ramp

primary
#C42BBF
secondary
#7DCE80
accent
#E74641
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #C42BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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