#C42FB0#C42FB0

#C42FB0 is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.3% C 0.226 H 334.3°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#C42FB0
RGBrgb(196, 47, 176)
HSLhsl(308, 61%, 48%)
HSVhsv(308, 76%, 77%)
CMYKcmyk(0%, 76%, 10.2%, 23.1%)
CIE-LABlab(48.14, 69.97, -35.76)
CIE-LCHlch(48.14, 78.58, 332.93°)
OKLaboklab(58.29% 0.2035 -0.098)
OKLCHoklch(58.29% 0.226 334.3)
XYZxyz(31.6183, 16.9062, 42.6639)
Luminance0.1690 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42FB0 #2FC443
analogous
#8E2FC4 #C42FB0 #C42F65
triadic
#C42FB0 #B0C42F #2FB0C4
tetradic
#C42FB0 #C48E2F #2FC443 #2F65C4
square
#C42FB0 #C48E2F #2FC443 #2F65C4
split-complementary
#C42FB0 #65C42F #2FC48E
monochromatic
#611757 #932384 #C42FB0 #D759C6 #E38AD7

Accessibility & contrast

On white

4.79
#C42FB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#C42FB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C42FB0
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C42FB0#FFFFFF#000000##FFFFFF
##C42FB01.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C64B3
Deuteranopia (green-blind)
#647AAD
Tritanopia (blue-blind)
#CD3D6D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c42fb0;
/* rgb */ color: rgb(196, 47, 176);
/* oklch */ color: oklch(58.3% 0.226 334.3);
Tailwind
colors: {
  custom: {
    50: '#da78c8',
    500: '#c42fb0',
    950: '#000000',
  },
}
SCSS
$custom: #c42fb0;
$custom-light: #da78c8;
$custom-dark: #000000;
JSON
{
  "hex": "#c42fb0",
  "rgb": {
    "r": 196,
    "g": 47,
    "b": 176
  },
  "hsl": {
    "h": 308.054,
    "s": 61.317,
    "l": 47.647
  },
  "oklch": {
    "l": 0.58291,
    "c": 0.22584,
    "h": 334.3
  },
  "luminance": 0.16903
}

Semantic roles & 50–950 ramp

primary
#C42FB0
secondary
#82CD8C
accent
#E45943
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C42FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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