#BF42C8#BF42C8

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

Color values

HEX#BF42C8
RGBrgb(191, 66, 200)
HSLhsl(296, 55%, 52%)
HSVhsv(296, 67%, 78%)
CMYKcmyk(4.5%, 67%, 0%, 21.6%)
CIE-LABlab(50.86, 66.27, -45.49)
CIE-LCHlch(50.86, 80.38, 325.53°)
OKLaboklab(60.49% 0.1807 -0.1264)
OKLCHoklch(60.49% 0.22 325)
XYZxyz(33.8586, 19.1450, 56.5444)
Luminance0.1914 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF42C8 #4BC842
analogous
#7C42C8 #BF42C8 #C8428E
triadic
#BF42C8 #C8BF42 #42C8BF
tetradic
#BF42C8 #C87C42 #4BC842 #428EC8
square
#BF42C8 #C87C42 #4BC842 #428EC8
split-complementary
#BF42C8 #8EC842 #42C87C
monochromatic
#6A206F #972E9F #BF42C8 #CF71D6 #DFA1E4

Accessibility & contrast

On white

4.35
#BF42C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#BF42C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BF42C8
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF42C8#FFFFFF#000000##000000
##BF42C81.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#256FCC
Deuteranopia (green-blind)
#5C7EC5
Tritanopia (blue-blind)
#C35780
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #bf42c8;
/* rgb */ color: rgb(191, 66, 200);
/* oklch */ color: oklch(60.5% 0.220 325.0);
Tailwind
colors: {
  custom: {
    50: '#d680d9',
    500: '#bf42c8',
    950: '#000000',
  },
}
SCSS
$custom: #bf42c8;
$custom-light: #d680d9;
$custom-dark: #000000;
JSON
{
  "hex": "#bf42c8",
  "rgb": {
    "r": 191,
    "g": 66,
    "b": 200
  },
  "hsl": {
    "h": 295.97,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.60494,
    "c": 0.22047,
    "h": 325
  },
  "luminance": 0.19143
}

Semantic roles & 50–950 ramp

primary
#BF42C8
secondary
#9AD096
accent
#DE4A54
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B15
muted
#837C83

Preview Lab

Preview with #BF42C8

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

Preview Lab → · Contrast checker → · Palette generator →

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