#BF42C2#BF42C2

#BF42C2 is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.2% C 0.216 H 326.9°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#BF42C2
RGBrgb(191, 66, 194)
HSLhsl(299, 51%, 51%)
HSVhsv(299, 66%, 76%)
CMYKcmyk(1.5%, 66%, 0%, 23.9%)
CIE-LABlab(50.53, 65.24, -42.54)
CIE-LCHlch(50.53, 77.88, 326.90°)
OKLaboklab(60.16% 0.1805 -0.1178)
OKLCHoklch(60.16% 0.216 326.9)
XYZxyz(33.1711, 18.8700, 52.9236)
Luminance0.1887 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF42C2 #45C242
analogous
#7F42C2 #BF42C2 #C24285
triadic
#BF42C2 #C2BF42 #42C2BF
tetradic
#BF42C2 #C27F42 #45C242 #4285C2
square
#BF42C2 #C27F42 #45C242 #4285C2
split-complementary
#BF42C2 #85C242 #42C27F
monochromatic
#662268 #943196 #BF42C2 #CF70D1 #DE9FE0

Accessibility & contrast

On white

4.40
#BF42C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#BF42C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BF42C2
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF42C2#FFFFFF#000000##000000
##BF42C21.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D6EC6
Deuteranopia (green-blind)
#5F7EBF
Tritanopia (blue-blind)
#C4547D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #bf42c2;
/* rgb */ color: rgb(191, 66, 194);
/* oklch */ color: oklch(60.2% 0.216 326.9);
Tailwind
colors: {
  custom: {
    50: '#d680d5',
    500: '#bf42c2',
    950: '#000000',
  },
}
SCSS
$custom: #bf42c2;
$custom-light: #d680d5;
$custom-dark: #000000;
JSON
{
  "hex": "#bf42c2",
  "rgb": {
    "r": 191,
    "g": 66,
    "b": 194
  },
  "hsl": {
    "h": 298.594,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.60158,
    "c": 0.21557,
    "h": 326.9
  },
  "luminance": 0.18868
}

Semantic roles & 50–950 ramp

primary
#BF42C2
secondary
#95CC94
accent
#DB4D50
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #BF42C2

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

Preview Lab → · Contrast checker → · Palette generator →

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