#C42FBC#C42FBC

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

Color values

HEX#C42FBC
RGBrgb(196, 47, 188)
HSLhsl(303, 61%, 48%)
HSVhsv(303, 76%, 77%)
CMYKcmyk(0%, 76%, 4.1%, 23.1%)
CIE-LABlab(48.76, 71.77, -41.81)
CIE-LCHlch(48.76, 83.06, 329.78°)
OKLaboklab(58.94% 0.2039 -0.1154)
OKLCHoklch(58.94% 0.234 330.5)
XYZxyz(32.8585, 17.4023, 49.1956)
Luminance0.1740 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42FBC #2FC437
analogous
#812FC4 #C42FBC #C42F72
triadic
#C42FBC #BCC42F #2FBCC4
tetradic
#C42FBC #C4812F #2FC437 #2F72C4
square
#C42FBC #C4812F #2FC437 #2F72C4
split-complementary
#C42FBC #72C42F #2FC481
monochromatic
#61175D #93238D #C42FBC #D759D0 #E38ADE

Accessibility & contrast

On white

4.69
#C42FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#C42FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C42FBC
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C42FBC#FFFFFF#000000##FFFFFF
##C42FBC1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B67C0
Deuteranopia (green-blind)
#5E7BB8
Tritanopia (blue-blind)
#CC4474
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c42fbc;
/* rgb */ color: rgb(196, 47, 188);
/* oklch */ color: oklch(58.9% 0.234 330.5);
Tailwind
colors: {
  custom: {
    50: '#da78d1',
    500: '#c42fbc',
    950: '#000000',
  },
}
SCSS
$custom: #c42fbc;
$custom-light: #da78d1;
$custom-dark: #000000;
JSON
{
  "hex": "#c42fbc",
  "rgb": {
    "r": 196,
    "g": 47,
    "b": 188
  },
  "hsl": {
    "h": 303.221,
    "s": 61.317,
    "l": 47.647
  },
  "oklch": {
    "l": 0.58937,
    "c": 0.23427,
    "h": 330.5
  },
  "luminance": 0.174
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C42FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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