#BB4AFF#BB4AFF

#BB4AFF is a light, highly saturated violet. Relative luminance 0.227; OKLCH L 64.2% C 0.258 H 309.4°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#BB4AFF
RGBrgb(187, 74, 255)
HSLhsl(277, 100%, 65%)
HSVhsv(277, 71%, 100%)
CMYKcmyk(26.7%, 71%, 0%, 0%)
CIE-LABlab(54.74, 72.82, -70.34)
CIE-LCHlch(54.74, 101.25, 315.99°)
OKLaboklab(64.23% 0.1639 -0.1993)
OKLCHoklch(64.23% 0.258 309.4)
XYZxyz(40.9887, 22.6831, 96.8074)
Luminance0.2268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB4AFF #8EFF4A
analogous
#614AFF #BB4AFF #FF4AE8
triadic
#BB4AFF #FFBB4A #4AFFBB
tetradic
#BB4AFF #FF614A #8EFF4A #4AE8FF
square
#BB4AFF #FF614A #8EFF4A #4AE8FF
split-complementary
#BB4AFF #E8FF4A #4AFF61
monochromatic
#8100CF #A40DFF #BB4AFF #D287FF #E9C4FF

Accessibility & contrast

On white

3.79
#BB4AFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#BB4AFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB4AFF
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB4AFF#FFFFFF#000000##000000
##BB4AFF1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFF
Deuteranopia (green-blind)
#1F85FB
Tritanopia (blue-blind)
#B173A0
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #bb4aff;
/* rgb */ color: rgb(187, 74, 255);
/* oklch */ color: oklch(64.2% 0.258 309.4);
Tailwind
colors: {
  custom: {
    50: '#d586ff',
    500: '#bb4aff',
    950: '#000000',
  },
}
SCSS
$custom: #bb4aff;
$custom-light: #d586ff;
$custom-dark: #000000;
JSON
{
  "hex": "#bb4aff",
  "rgb": {
    "r": 187,
    "g": 74,
    "b": 255
  },
  "hsl": {
    "h": 277.459,
    "s": 100,
    "l": 64.51
  },
  "oklch": {
    "l": 0.64226,
    "c": 0.25803,
    "h": 309.4
  },
  "luminance": 0.22682
}

Semantic roles & 50–950 ramp

primary
#BB4AFF
secondary
#CBF2B3
accent
#E60056
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150C18
muted
#837D86

Preview Lab

Preview with #BB4AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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