#BF2EB7#BF2EB7

#BF2EB7 is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.8% C 0.229 H 330.5°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#BF2EB7
RGBrgb(191, 46, 183)
HSLhsl(303, 61%, 46%)
HSVhsv(303, 76%, 75%)
CMYKcmyk(0%, 75.9%, 4.2%, 25.1%)
CIE-LABlab(47.56, 70.24, -40.84)
CIE-LCHlch(47.56, 81.25, 329.82°)
OKLaboklab(57.83% 0.1996 -0.1127)
OKLCHoklch(57.83% 0.229 330.5)
XYZxyz(31.0100, 16.4517, 46.3328)
Luminance0.1645 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF2EB7 #2EBF36
analogous
#7F2EBF #BF2EB7 #BF2E6F
triadic
#BF2EB7 #B7BF2E #2EB7BF
tetradic
#BF2EB7 #BF7F2E #2EBF36 #2E6FBF
square
#BF2EB7 #BF7F2E #2EBF36 #2E6FBF
split-complementary
#BF2EB7 #6FBF2E #2EBF7F
monochromatic
#5C1658 #8E2288 #BF2EB7 #D654CF #E286DD

Accessibility & contrast

On white

4.90
#BF2EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#BF2EB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BF2EB7
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF2EB7#FFFFFF#000000##FFFFFF
##BF2EB71.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bf2eb7;
/* rgb */ color: rgb(191, 46, 183);
/* oklch */ color: oklch(57.8% 0.229 330.5);
Tailwind
colors: {
  custom: {
    50: '#d677cd',
    500: '#bf2eb7',
    950: '#000000',
  },
}
SCSS
$custom: #bf2eb7;
$custom-light: #d677cd;
$custom-dark: #000000;
JSON
{
  "hex": "#bf2eb7",
  "rgb": {
    "r": 191,
    "g": 46,
    "b": 183
  },
  "hsl": {
    "h": 303.31,
    "s": 61.181,
    "l": 46.471
  },
  "oklch": {
    "l": 0.57834,
    "c": 0.22924,
    "h": 330.5
  },
  "luminance": 0.16449
}

Semantic roles & 50–950 ramp

primary
#BF2EB7
secondary
#7ECB82
accent
#E44C44
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #BF2EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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