#C42FBE#C42FBE

#C42FBE is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 59.0% C 0.236 H 329.9°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#C42FBE
RGBrgb(196, 47, 190)
HSLhsl(302, 61%, 48%)
HSVhsv(302, 76%, 77%)
CMYKcmyk(0%, 76%, 3.1%, 23.1%)
CIE-LABlab(48.87, 72.08, -42.80)
CIE-LCHlch(48.87, 83.83, 329.30°)
OKLaboklab(59.05% 0.2039 -0.1183)
OKLCHoklch(59.05% 0.236 329.9)
XYZxyz(33.0756, 17.4891, 50.3389)
Luminance0.1749 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42FBE #2FC435
analogous
#7F2FC4 #C42FBE #C42F74
triadic
#C42FBE #BEC42F #2FBEC4
tetradic
#C42FBE #C47F2F #2FC435 #2F74C4
square
#C42FBE #C47F2F #2FC435 #2F74C4
split-complementary
#C42FBE #74C42F #2FC47F
monochromatic
#61175E #93238E #C42FBE #D759D2 #E38ADF

Accessibility & contrast

On white

4.67
#C42FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#C42FBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C42FBE
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C42FBE#FFFFFF#000000##FFFFFF
##C42FBE1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1767C2
Deuteranopia (green-blind)
#5D7BBA
Tritanopia (blue-blind)
#CB4575
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c42fbe;
/* rgb */ color: rgb(196, 47, 190);
/* oklch */ color: oklch(59.0% 0.236 329.9);
Tailwind
colors: {
  custom: {
    50: '#da78d2',
    500: '#c42fbe',
    950: '#000000',
  },
}
SCSS
$custom: #c42fbe;
$custom-light: #da78d2;
$custom-dark: #000000;
JSON
{
  "hex": "#c42fbe",
  "rgb": {
    "r": 196,
    "g": 47,
    "b": 190
  },
  "hsl": {
    "h": 302.416,
    "s": 61.317,
    "l": 47.647
  },
  "oklch": {
    "l": 0.59049,
    "c": 0.23571,
    "h": 329.9
  },
  "luminance": 0.17486
}

Semantic roles & 50–950 ramp

primary
#C42FBE
secondary
#82CD85
accent
#E44A43
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C42FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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