#BF42B7#BF42B7

#BF42B7 is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.6% C 0.207 H 330.5°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#BF42B7
RGBrgb(191, 66, 183)
HSLhsl(304, 49%, 50%)
HSVhsv(304, 65%, 75%)
CMYKcmyk(0%, 65.4%, 4.2%, 25.1%)
CIE-LABlab(49.97, 63.41, -37.04)
CIE-LCHlch(49.97, 73.44, 329.71°)
OKLaboklab(59.57% 0.18 -0.1019)
OKLCHoklch(59.57% 0.207 330.5)
XYZxyz(31.9812, 18.3940, 46.6565)
Luminance0.1839 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF42B7 #42BF4A
analogous
#8842BF #BF42B7 #BF4278
triadic
#BF42B7 #B7BF42 #42B7BF
tetradic
#BF42B7 #BF8842 #42BF4A #4278BF
square
#BF42B7 #BF8842 #42BF4A #4278BF
split-complementary
#BF42B7 #78BF42 #42BF88
monochromatic
#652260 #92328C #BF42B7 #CE70C8 #DE9DDA

Accessibility & contrast

On white

4.49
#BF42B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#BF42B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BF42B7
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF42B7#FFFFFF#000000##000000
##BF42B71.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#386CBA
Deuteranopia (green-blind)
#657DB4
Tritanopia (blue-blind)
#C65077
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #bf42b7;
/* rgb */ color: rgb(191, 66, 183);
/* oklch */ color: oklch(59.6% 0.207 330.5);
Tailwind
colors: {
  custom: {
    50: '#d680cd',
    500: '#bf42b7',
    950: '#000000',
  },
}
SCSS
$custom: #bf42b7;
$custom-light: #d680cd;
$custom-dark: #000000;
JSON
{
  "hex": "#bf42b7",
  "rgb": {
    "r": 191,
    "g": 66,
    "b": 183
  },
  "hsl": {
    "h": 303.84,
    "s": 49.407,
    "l": 50.392
  },
  "oklch": {
    "l": 0.59567,
    "c": 0.2068,
    "h": 330.5
  },
  "luminance": 0.18392
}

Semantic roles & 50–950 ramp

primary
#BF42B7
secondary
#93CA96
accent
#D9584F
background
#FDF8FC
surface
#FBEFF9
border
#D4CAD2
text
#150B13
muted
#837C82

Preview Lab

Preview with #BF42B7

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

Preview Lab → · Contrast checker → · Palette generator →

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