#BF42AB#BF42AB

#BF42AB is a mid, vivid purple. Relative luminance 0.179; OKLCH L 59.0% C 0.198 H 334.8°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#BF42AB
RGBrgb(191, 66, 171)
HSLhsl(310, 49%, 50%)
HSVhsv(310, 65%, 75%)
CMYKcmyk(0%, 65.4%, 10.5%, 25.1%)
CIE-LABlab(49.39, 61.51, -30.92)
CIE-LCHlch(49.39, 68.84, 333.31°)
OKLaboklab(58.96% 0.1788 -0.0843)
OKLCHoklch(58.96% 0.198 334.8)
XYZxyz(30.7850, 17.9156, 40.3569)
Luminance0.1791 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF42AB #42BF56
analogous
#9442BF #BF42AB #BF426C
triadic
#BF42AB #ABBF42 #42ABBF
tetradic
#BF42AB #BF9442 #42BF56 #426CBF
square
#BF42AB #BF9442 #42BF56 #426CBF
split-complementary
#BF42AB #6CBF42 #42BF94
monochromatic
#65225A #923283 #BF42AB #CE70BF #DE9DD4

Accessibility & contrast

On white

4.58
#BF42AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#BF42AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BF42AB
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF42AB#FFFFFF#000000##000000
##BF42AB1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#416AAE
Deuteranopia (green-blind)
#6A7CA8
Tritanopia (blue-blind)
#C84B71
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #bf42ab;
/* rgb */ color: rgb(191, 66, 171);
/* oklch */ color: oklch(59.0% 0.198 334.8);
Tailwind
colors: {
  custom: {
    50: '#d67fc4',
    500: '#bf42ab',
    950: '#000000',
  },
}
SCSS
$custom: #bf42ab;
$custom-light: #d67fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#bf42ab",
  "rgb": {
    "r": 191,
    "g": 66,
    "b": 171
  },
  "hsl": {
    "h": 309.6,
    "s": 49.407,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58961,
    "c": 0.19765,
    "h": 334.8
  },
  "luminance": 0.17913
}

Semantic roles & 50–950 ramp

primary
#BF42AB
secondary
#93CA9B
accent
#D9654F
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B12
muted
#837C81

Preview Lab

Preview with #BF42AB

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

Preview Lab → · Contrast checker → · Palette generator →

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