#BF2FB7#BF2FB7

#BF2FB7 is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.9% C 0.228 H 330.5°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#BF2FB7
RGBrgb(191, 47, 183)
HSLhsl(303, 61%, 47%)
HSVhsv(303, 75%, 75%)
CMYKcmyk(0%, 75.4%, 4.2%, 25.1%)
CIE-LABlab(47.66, 69.95, -40.68)
CIE-LCHlch(47.66, 80.92, 329.82°)
OKLaboklab(57.91% 0.1988 -0.1123)
OKLCHoklch(57.91% 0.228 330.5)
XYZxyz(31.0495, 16.5308, 46.3460)
Luminance0.1653 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF2FB7 #2FBF37
analogous
#7F2FBF #BF2FB7 #BF2F6F
triadic
#BF2FB7 #B7BF2F #2FB7BF
tetradic
#BF2FB7 #BF7F2F #2FBF37 #2F6FBF
square
#BF2FB7 #BF7F2F #2FBF37 #2F6FBF
split-complementary
#BF2FB7 #6FBF2F #2FBF7F
monochromatic
#5D1759 #8E2388 #BF2FB7 #D556CE #E187DC

Accessibility & contrast

On white

4.88
#BF2FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#BF2FB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BF2FB7
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF2FB7#FFFFFF#000000##FFFFFF
##BF2FB71.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D65BB
Deuteranopia (green-blind)
#5C78B4
Tritanopia (blue-blind)
#C64371
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #bf2fb7;
/* rgb */ color: rgb(191, 47, 183);
/* oklch */ color: oklch(57.9% 0.228 330.5);
Tailwind
colors: {
  custom: {
    50: '#d677cd',
    500: '#bf2fb7',
    950: '#000000',
  },
}
SCSS
$custom: #bf2fb7;
$custom-light: #d677cd;
$custom-dark: #000000;
JSON
{
  "hex": "#bf2fb7",
  "rgb": {
    "r": 191,
    "g": 47,
    "b": 183
  },
  "hsl": {
    "h": 303.333,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.57907,
    "c": 0.22828,
    "h": 330.5
  },
  "luminance": 0.16528
}

Semantic roles & 50–950 ramp

primary
#BF2FB7
secondary
#7FCB83
accent
#E44D44
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #BF2FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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