#C42FBB#C42FBB

#C42FBB is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 58.9% C 0.234 H 330.8°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#C42FBB
RGBrgb(196, 47, 187)
HSLhsl(304, 61%, 48%)
HSVhsv(304, 76%, 77%)
CMYKcmyk(0%, 76%, 4.6%, 23.1%)
CIE-LABlab(48.71, 71.61, -41.31)
CIE-LCHlch(48.71, 82.67, 330.02°)
OKLaboklab(58.88% 0.2039 -0.114)
OKLCHoklch(58.88% 0.234 330.8)
XYZxyz(32.7510, 17.3593, 48.6298)
Luminance0.1736 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42FBB #2FC438
analogous
#822FC4 #C42FBB #C42F71
triadic
#C42FBB #BBC42F #2FBBC4
tetradic
#C42FBB #C4822F #2FC438 #2F71C4
square
#C42FBB #C4822F #2FC438 #2F71C4
split-complementary
#C42FBB #71C42F #2FC482
monochromatic
#61175D #93238C #C42FBB #D759D0 #E38ADE

Accessibility & contrast

On white

4.70
#C42FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#C42FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C42FBB
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C42FBB#FFFFFF#000000##FFFFFF
##C42FBB1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D67BF
Deuteranopia (green-blind)
#5F7BB7
Tritanopia (blue-blind)
#CC4374
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c42fbb;
/* rgb */ color: rgb(196, 47, 187);
/* oklch */ color: oklch(58.9% 0.234 330.8);
Tailwind
colors: {
  custom: {
    50: '#da78d0',
    500: '#c42fbb',
    950: '#000000',
  },
}
SCSS
$custom: #c42fbb;
$custom-light: #da78d0;
$custom-dark: #000000;
JSON
{
  "hex": "#c42fbb",
  "rgb": {
    "r": 196,
    "g": 47,
    "b": 187
  },
  "hsl": {
    "h": 303.624,
    "s": 61.317,
    "l": 47.647
  },
  "oklch": {
    "l": 0.58882,
    "c": 0.23356,
    "h": 330.8
  },
  "luminance": 0.17357
}

Semantic roles & 50–950 ramp

primary
#C42FBB
secondary
#82CD86
accent
#E44D43
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C42FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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