#BF34B7#BF34B7

#BF34B7 is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.3% C 0.223 H 330.5°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#BF34B7
RGBrgb(191, 52, 183)
HSLhsl(303, 57%, 48%)
HSVhsv(303, 73%, 75%)
CMYKcmyk(0%, 72.8%, 4.2%, 25.1%)
CIE-LABlab(48.20, 68.41, -39.83)
CIE-LCHlch(48.20, 79.16, 329.79°)
OKLaboklab(58.29% 0.1943 -0.1098)
OKLCHoklch(58.29% 0.223 330.5)
XYZxyz(31.2610, 16.9537, 46.4165)
Luminance0.1695 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF34B7 #34BF3C
analogous
#8134BF #BF34B7 #BF3472
triadic
#BF34B7 #B7BF34 #34B7BF
tetradic
#BF34B7 #BF8134 #34BF3C #3472BF
square
#BF34B7 #BF8134 #34BF3C #3472BF
split-complementary
#BF34B7 #72BF34 #34BF81
monochromatic
#5F1A5B #8F2789 #BF34B7 #D35DCC #E08DDB

Accessibility & contrast

On white

4.78
#BF34B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#BF34B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BF34B7
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF34B7#FFFFFF#000000##FFFFFF
##BF34B71.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2566BB
Deuteranopia (green-blind)
#5E79B4
Tritanopia (blue-blind)
#C64673
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #bf34b7;
/* rgb */ color: rgb(191, 52, 183);
/* oklch */ color: oklch(58.3% 0.223 330.5);
Tailwind
colors: {
  custom: {
    50: '#d679cd',
    500: '#bf34b7',
    950: '#000000',
  },
}
SCSS
$custom: #bf34b7;
$custom-light: #d679cd;
$custom-dark: #000000;
JSON
{
  "hex": "#bf34b7",
  "rgb": {
    "r": 191,
    "g": 52,
    "b": 183
  },
  "hsl": {
    "h": 303.453,
    "s": 57.202,
    "l": 47.647
  },
  "oklch": {
    "l": 0.58292,
    "c": 0.22322,
    "h": 330.5
  },
  "luminance": 0.16951
}

Semantic roles & 50–950 ramp

primary
#BF34B7
secondary
#84CA88
accent
#E05047
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #BF34B7

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

Preview Lab → · Contrast checker → · Palette generator →

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