#BF42C7#BF42C7

#BF42C7 is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.4% C 0.220 H 325.3°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#BF42C7
RGBrgb(191, 66, 199)
HSLhsl(296, 54%, 52%)
HSVhsv(296, 67%, 78%)
CMYKcmyk(4%, 66.8%, 0%, 22%)
CIE-LABlab(50.80, 66.10, -45.00)
CIE-LCHlch(50.80, 79.96, 325.75°)
OKLaboklab(60.44% 0.1807 -0.1249)
OKLCHoklch(60.44% 0.22 325.3)
XYZxyz(33.7421, 19.0984, 55.9309)
Luminance0.1910 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF42C7 #4AC742
analogous
#7D42C7 #BF42C7 #C7428D
triadic
#BF42C7 #C7BF42 #42C7BF
tetradic
#BF42C7 #C77D42 #4AC742 #428DC7
square
#BF42C7 #C77D42 #4AC742 #428DC7
split-complementary
#BF42C7 #8DC742 #42C77D
monochromatic
#69216E #972F9D #BF42C7 #CF71D5 #DFA0E3

Accessibility & contrast

On white

4.36
#BF42C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#BF42C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BF42C7
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF42C7#FFFFFF#000000##000000
##BF42C71.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#266FCB
Deuteranopia (green-blind)
#5C7EC4
Tritanopia (blue-blind)
#C3567F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #bf42c7;
/* rgb */ color: rgb(191, 66, 199);
/* oklch */ color: oklch(60.4% 0.220 325.3);
Tailwind
colors: {
  custom: {
    50: '#d680d8',
    500: '#bf42c7',
    950: '#000000',
  },
}
SCSS
$custom: #bf42c7;
$custom-light: #d680d8;
$custom-dark: #000000;
JSON
{
  "hex": "#bf42c7",
  "rgb": {
    "r": 191,
    "g": 66,
    "b": 199
  },
  "hsl": {
    "h": 296.391,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60437,
    "c": 0.21965,
    "h": 325.3
  },
  "luminance": 0.19096
}

Semantic roles & 50–950 ramp

primary
#BF42C7
secondary
#99D095
accent
#DE4A53
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #BF42C7

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

Preview Lab → · Contrast checker → · Palette generator →

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