#BF3EA7#BF3EA7

#BF3EA7 is a mid, vivid pink. Relative luminance 0.173; OKLCH L 58.4% C 0.200 H 336.1°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#BF3EA7
RGBrgb(191, 62, 167)
HSLhsl(311, 51%, 50%)
HSVhsv(311, 68%, 75%)
CMYKcmyk(0%, 67.5%, 12.6%, 25.1%)
CIE-LABlab(48.65, 62.45, -29.71)
CIE-LCHlch(48.65, 69.16, 334.55°)
OKLaboklab(58.36% 0.1828 -0.0808)
OKLCHoklch(58.36% 0.2 336.1)
XYZxyz(30.1839, 17.3142, 38.3040)
Luminance0.1731 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF3EA7 #3EBF56
analogous
#973EBF #BF3EA7 #BF3E66
triadic
#BF3EA7 #A7BF3E #3EA7BF
tetradic
#BF3EA7 #BF973E #3EBF56 #3E66BF
square
#BF3EA7 #BF973E #3EBF56 #3E66BF
split-complementary
#BF3EA7 #66BF3E #3EBF97
monochromatic
#632056 #912F7F #BF3EA7 #CF6BBC #DE99D1

Accessibility & contrast

On white

4.71
#BF3EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#BF3EA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BF3EA7
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF3EA7#FFFFFF#000000##FFFFFF
##BF3EA71.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4067AA
Deuteranopia (green-blind)
#6A7BA4
Tritanopia (blue-blind)
#C9466D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #bf3ea7;
/* rgb */ color: rgb(191, 62, 167);
/* oklch */ color: oklch(58.4% 0.200 336.1);
Tailwind
colors: {
  custom: {
    50: '#d67dc1',
    500: '#bf3ea7',
    950: '#000000',
  },
}
SCSS
$custom: #bf3ea7;
$custom-light: #d67dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#bf3ea7",
  "rgb": {
    "r": 191,
    "g": 62,
    "b": 167
  },
  "hsl": {
    "h": 311.163,
    "s": 50.988,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58362,
    "c": 0.19991,
    "h": 336.1
  },
  "luminance": 0.17312
}

Semantic roles & 50–950 ramp

primary
#BF3EA7
secondary
#8FCA9A
accent
#DA684D
background
#FDF8FB
surface
#FBEFF7
border
#D4CAD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #BF3EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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