#BF26A8#BF26A8

#BF26A8 is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.5% C 0.226 H 335.4°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#BF26A8
RGBrgb(191, 38, 168)
HSLhsl(309, 67%, 45%)
HSVhsv(309, 80%, 75%)
CMYKcmyk(0%, 80.1%, 12%, 25.1%)
CIE-LABlab(46.03, 70.18, -34.41)
CIE-LCHlch(46.03, 78.16, 333.88°)
OKLaboklab(56.49% 0.2055 -0.0941)
OKLCHoklch(56.49% 0.226 335.4)
XYZxyz(29.2473, 15.2925, 38.4496)
Luminance0.1529 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF26A8 #26BF3D
analogous
#8A26BF #BF26A8 #BF265B
triadic
#BF26A8 #A8BF26 #26A8BF
tetradic
#BF26A8 #BF8A26 #26BF3D #265BBF
square
#BF26A8 #BF8A26 #26BF3D #265BBF
split-complementary
#BF26A8 #5BBF26 #26BF8A
monochromatic
#59124E #8C1C7B #BF26A8 #DB48C4 #E57BD5

Accessibility & contrast

On white

5.17
#BF26A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#BF26A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BF26A8
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF26A8#FFFFFF#000000##FFFFFF
##BF26A81.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265FAB
Deuteranopia (green-blind)
#6175A5
Tritanopia (blue-blind)
#C93567
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bf26a8;
/* rgb */ color: rgb(191, 38, 168);
/* oklch */ color: oklch(56.5% 0.226 335.4);
Tailwind
colors: {
  custom: {
    50: '#d774c2',
    500: '#bf26a8',
    950: '#000000',
  },
}
SCSS
$custom: #bf26a8;
$custom-light: #d774c2;
$custom-dark: #000000;
JSON
{
  "hex": "#bf26a8",
  "rgb": {
    "r": 191,
    "g": 38,
    "b": 168
  },
  "hsl": {
    "h": 309.02,
    "s": 66.812,
    "l": 44.902
  },
  "oklch": {
    "l": 0.56488,
    "c": 0.226,
    "h": 335.4
  },
  "luminance": 0.1529
}

Semantic roles & 50–950 ramp

primary
#BF26A8
secondary
#74CD81
accent
#EA583E
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150912
muted
#837B81

Preview Lab

Preview with #BF26A8

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

Preview Lab → · Contrast checker → · Palette generator →

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