#BF26A7#BF26A7

#BF26A7 is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.4% C 0.225 H 335.7°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#BF26A7
RGBrgb(191, 38, 167)
HSLhsl(309, 67%, 45%)
HSVhsv(309, 80%, 75%)
CMYKcmyk(0%, 80.1%, 12.6%, 25.1%)
CIE-LABlab(45.98, 70.04, -33.90)
CIE-LCHlch(45.98, 77.81, 334.17°)
OKLaboklab(56.44% 0.2054 -0.0926)
OKLCHoklch(56.44% 0.225 335.7)
XYZxyz(29.1545, 15.2554, 37.9609)
Luminance0.1525 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF26A7 #26BF3E
analogous
#8B26BF #BF26A7 #BF265A
triadic
#BF26A7 #A7BF26 #26A7BF
tetradic
#BF26A7 #BF8B26 #26BF3E #265ABF
square
#BF26A7 #BF8B26 #26BF3E #265ABF
split-complementary
#BF26A7 #5ABF26 #26BF8B
monochromatic
#59124E #8C1C7A #BF26A7 #DB48C3 #E57BD4

Accessibility & contrast

On white

5.18
#BF26A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#BF26A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BF26A7
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF26A7#FFFFFF#000000##FFFFFF
##BF26A71.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275FAA
Deuteranopia (green-blind)
#6175A4
Tritanopia (blue-blind)
#C93466
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bf26a7;
/* rgb */ color: rgb(191, 38, 167);
/* oklch */ color: oklch(56.4% 0.225 335.7);
Tailwind
colors: {
  custom: {
    50: '#d773c1',
    500: '#bf26a7',
    950: '#000000',
  },
}
SCSS
$custom: #bf26a7;
$custom-light: #d773c1;
$custom-dark: #000000;
JSON
{
  "hex": "#bf26a7",
  "rgb": {
    "r": 191,
    "g": 38,
    "b": 167
  },
  "hsl": {
    "h": 309.412,
    "s": 66.812,
    "l": 44.902
  },
  "oklch": {
    "l": 0.56435,
    "c": 0.22533,
    "h": 335.7
  },
  "luminance": 0.15253
}

Semantic roles & 50–950 ramp

primary
#BF26A7
secondary
#74CD82
accent
#EA593E
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BF26A7

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

Preview Lab → · Contrast checker → · Palette generator →

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