#C42BBA#C42BBA

#C42BBA is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.6% C 0.236 H 331.1°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#C42BBA
RGBrgb(196, 43, 186)
HSLhsl(304, 64%, 47%)
HSVhsv(304, 78%, 77%)
CMYKcmyk(0%, 78.1%, 5.1%, 23.1%)
CIE-LABlab(48.27, 72.56, -41.41)
CIE-LCHlch(48.27, 83.55, 330.28°)
OKLaboklab(58.55% 0.207 -0.1143)
OKLCHoklch(58.55% 0.236 331.1)
XYZxyz(32.4917, 17.0114, 48.0171)
Luminance0.1701 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42BBA #2BC435
analogous
#822BC4 #C42BBA #C42B6D
triadic
#C42BBA #BAC42B #2BBAC4
tetradic
#C42BBA #C4822B #2BC435 #2B6DC4
square
#C42BBA #C4822B #2BC435 #2B6DC4
split-complementary
#C42BBA #6DC42B #2BC482
monochromatic
#60155B #92208A #C42BBA #D953D0 #E485DE

Accessibility & contrast

On white

4.77
#C42BBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#C42BBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C42BBA
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C42BBA#FFFFFF#000000##FFFFFF
##C42BBA1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1865BE
Deuteranopia (green-blind)
#5E7AB6
Tritanopia (blue-blind)
#CC4072
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c42bba;
/* rgb */ color: rgb(196, 43, 186);
/* oklch */ color: oklch(58.6% 0.236 331.1);
Tailwind
colors: {
  custom: {
    50: '#da77cf',
    500: '#c42bba',
    950: '#000000',
  },
}
SCSS
$custom: #c42bba;
$custom-light: #da77cf;
$custom-dark: #000000;
JSON
{
  "hex": "#c42bba",
  "rgb": {
    "r": 196,
    "g": 43,
    "b": 186
  },
  "hsl": {
    "h": 303.922,
    "s": 64.017,
    "l": 46.863
  },
  "oklch": {
    "l": 0.58554,
    "c": 0.23647,
    "h": 331.1
  },
  "luminance": 0.17009
}

Semantic roles & 50–950 ramp

primary
#C42BBA
secondary
#7DCE82
accent
#E74C41
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C42BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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