#BF42C4#BF42C4

#BF42C4 is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.3% C 0.217 H 326.3°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#BF42C4
RGBrgb(191, 66, 196)
HSLhsl(298, 52%, 51%)
HSVhsv(298, 66%, 77%)
CMYKcmyk(2.6%, 66.3%, 0%, 23.1%)
CIE-LABlab(50.64, 65.58, -43.52)
CIE-LCHlch(50.64, 78.71, 326.43°)
OKLaboklab(60.27% 0.1806 -0.1207)
OKLCHoklch(60.27% 0.217 326.3)
XYZxyz(33.3972, 18.9605, 54.1145)
Luminance0.1896 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF42C4 #47C442
analogous
#7E42C4 #BF42C4 #C44288
triadic
#BF42C4 #C4BF42 #42C4BF
tetradic
#BF42C4 #C47E42 #47C442 #4288C4
square
#BF42C4 #C47E42 #47C442 #4288C4
split-complementary
#BF42C4 #88C442 #42C47E
monochromatic
#68216A #953099 #BF42C4 #CF71D3 #DF9FE1

Accessibility & contrast

On white

4.38
#BF42C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#BF42C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BF42C4
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF42C4#FFFFFF#000000##000000
##BF42C41.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A6EC8
Deuteranopia (green-blind)
#5E7EC1
Tritanopia (blue-blind)
#C4557E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #bf42c4;
/* rgb */ color: rgb(191, 66, 196);
/* oklch */ color: oklch(60.3% 0.217 326.3);
Tailwind
colors: {
  custom: {
    50: '#d680d6',
    500: '#bf42c4',
    950: '#000000',
  },
}
SCSS
$custom: #bf42c4;
$custom-light: #d680d6;
$custom-dark: #000000;
JSON
{
  "hex": "#bf42c4",
  "rgb": {
    "r": 191,
    "g": 66,
    "b": 196
  },
  "hsl": {
    "h": 297.692,
    "s": 52.419,
    "l": 51.373
  },
  "oklch": {
    "l": 0.60269,
    "c": 0.2172,
    "h": 326.3
  },
  "luminance": 0.18958
}

Semantic roles & 50–950 ramp

primary
#BF42C4
secondary
#96CE94
accent
#DC4C51
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #BF42C4

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

Preview Lab → · Contrast checker → · Palette generator →

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