#BF22B5#BF22B5

#BF22B5 is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 57.0% C 0.238 H 331.2°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#BF22B5
RGBrgb(191, 34, 181)
HSLhsl(304, 70%, 44%)
HSVhsv(304, 82%, 75%)
CMYKcmyk(0%, 82.2%, 5.2%, 25.1%)
CIE-LABlab(46.39, 73.01, -41.53)
CIE-LCHlch(46.39, 83.99, 330.37°)
OKLaboklab(56.96% 0.2085 -0.1146)
OKLCHoklch(56.96% 0.238 331.2)
XYZxyz(30.3984, 15.5592, 45.1093)
Luminance0.1556 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF22B5 #22BF2C
analogous
#7B22BF #BF22B5 #BF2266
triadic
#BF22B5 #B5BF22 #22B5BF
tetradic
#BF22B5 #BF7B22 #22BF2C #2266BF
square
#BF22B5 #BF7B22 #22BF2C #2266BF
split-complementary
#BF22B5 #66BF22 #22BF7B
monochromatic
#571053 #8B1984 #BF22B5 #DD41D3 #E675DF

Accessibility & contrast

On white

5.11
#BF22B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#BF22B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BF22B5
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF22B5#FFFFFF#000000##FFFFFF
##BF22B51.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0560B9
Deuteranopia (green-blind)
#5975B1
Tritanopia (blue-blind)
#C73A6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #bf22b5;
/* rgb */ color: rgb(191, 34, 181);
/* oklch */ color: oklch(57.0% 0.238 331.2);
Tailwind
colors: {
  custom: {
    50: '#d773cc',
    500: '#bf22b5',
    950: '#000000',
  },
}
SCSS
$custom: #bf22b5;
$custom-light: #d773cc;
$custom-dark: #000000;
JSON
{
  "hex": "#bf22b5",
  "rgb": {
    "r": 191,
    "g": 34,
    "b": 181
  },
  "hsl": {
    "h": 303.822,
    "s": 69.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.56964,
    "c": 0.23792,
    "h": 331.2
  },
  "luminance": 0.15557
}

Semantic roles & 50–950 ramp

primary
#BF22B5
secondary
#6FCE75
accent
#ED473B
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150913
muted
#837B82

Preview Lab

Preview with #BF22B5

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

Preview Lab → · Contrast checker → · Palette generator →

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