#BB4EF7#BB4EF7

#BB4EF7 is a light, highly saturated violet. Relative luminance 0.227; OKLCH L 64.1% C 0.246 H 310.9°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#BB4EF7
RGBrgb(187, 78, 247)
HSLhsl(279, 91%, 64%)
HSVhsv(279, 68%, 97%)
CMYKcmyk(24.3%, 68.4%, 0%, 3.1%)
CIE-LABlab(54.79, 69.56, -65.82)
CIE-LCHlch(54.79, 95.77, 316.58°)
OKLaboklab(64.09% 0.161 -0.186)
OKLCHoklch(64.09% 0.246 310.9)
XYZxyz(40.0032, 22.7299, 90.2577)
Luminance0.2273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB4EF7 #8AF74E
analogous
#664EF7 #BB4EF7 #F74EDE
triadic
#BB4EF7 #F7BB4E #4EF7BB
tetradic
#BB4EF7 #F7664E #8AF74E #4EDEF7
square
#BB4EF7 #F7664E #8AF74E #4EDEF7
split-complementary
#BB4EF7 #DEF74E #4EF766
monochromatic
#8009C2 #A513F4 #BB4EF7 #D189FA #E8C3FC

Accessibility & contrast

On white

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

On black

5.55
#BB4EF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB4EF7
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB4EF7#FFFFFF#000000##000000
##BB4EF71.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFC
Deuteranopia (green-blind)
#3585F3
Tritanopia (blue-blind)
#B3729D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #bb4ef7;
/* rgb */ color: rgb(187, 78, 247);
/* oklch */ color: oklch(64.1% 0.246 310.9);
Tailwind
colors: {
  custom: {
    50: '#d488fb',
    500: '#bb4ef7',
    950: '#000000',
  },
}
SCSS
$custom: #bb4ef7;
$custom-light: #d488fb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb4ef7",
  "rgb": {
    "r": 187,
    "g": 78,
    "b": 247
  },
  "hsl": {
    "h": 278.698,
    "s": 91.351,
    "l": 63.725
  },
  "oklch": {
    "l": 0.64094,
    "c": 0.24604,
    "h": 310.9
  },
  "luminance": 0.22729
}

Semantic roles & 50–950 ramp

primary
#BB4EF7
secondary
#C8EEB3
accent
#E60051
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150C17
muted
#837D85

Preview Lab

Preview with #BB4EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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