#BF26C7#BF26C7

#BF26C7 is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 58.3% C 0.248 H 325.9°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#BF26C7
RGBrgb(191, 38, 199)
HSLhsl(297, 68%, 46%)
HSVhsv(297, 81%, 78%)
CMYKcmyk(4%, 80.9%, 0%, 22%)
CIE-LABlab(47.74, 74.86, -49.88)
CIE-LCHlch(47.74, 89.96, 326.32°)
OKLaboklab(58.25% 0.205 -0.139)
OKLCHoklch(58.25% 0.248 325.9)
XYZxyz(32.4871, 16.5884, 55.5125)
Luminance0.1659 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF26C7 #2EC726
analogous
#6F26C7 #BF26C7 #C7267F
triadic
#BF26C7 #C7BF26 #26C7BF
tetradic
#BF26C7 #C76F26 #2EC726 #267FC7
square
#BF26C7 #C76F26 #2EC726 #267FC7
split-complementary
#BF26C7 #7FC726 #26C76F
monochromatic
#5C1260 #8E1C94 #BF26C7 #D64DDD #E281E7

Accessibility & contrast

On white

4.86
#BF26C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#BF26C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BF26C7
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF26C7#FFFFFF#000000##FFFFFF
##BF26C71.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CB
Deuteranopia (green-blind)
#4F77C3
Tritanopia (blue-blind)
#C44678
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #bf26c7;
/* rgb */ color: rgb(191, 38, 199);
/* oklch */ color: oklch(58.3% 0.248 325.9);
Tailwind
colors: {
  custom: {
    50: '#d775d9',
    500: '#bf26c7',
    950: '#000000',
  },
}
SCSS
$custom: #bf26c7;
$custom-light: #d775d9;
$custom-dark: #000000;
JSON
{
  "hex": "#bf26c7",
  "rgb": {
    "r": 191,
    "g": 38,
    "b": 199
  },
  "hsl": {
    "h": 297.019,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.5825,
    "c": 0.24768,
    "h": 325.9
  },
  "luminance": 0.16586
}

Semantic roles & 50–950 ramp

primary
#BF26C7
secondary
#7ECF79
accent
#EB3D46
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150A15
muted
#837C83

Preview Lab

Preview with #BF26C7

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

Preview Lab → · Contrast checker → · Palette generator →

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