#BB7BFB#BB7BFB

#BB7BFB is a light, vivid violet. Relative luminance 0.317; OKLCH L 70.2% C 0.188 H 305.2°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#BB7BFB
RGBrgb(187, 123, 251)
HSLhsl(270, 94%, 73%)
HSVhsv(270, 51%, 98%)
CMYKcmyk(25.5%, 51%, 0%, 1.6%)
CIE-LABlab(63.09, 48.75, -54.74)
CIE-LCHlch(63.09, 73.30, 311.68°)
OKLaboklab(70.21% 0.1083 -0.1538)
OKLCHoklch(70.21% 0.188 305.2)
XYZxyz(44.9854, 31.6960, 94.9961)
Luminance0.3170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7BFB #BBFB7B
analogous
#7B7BFB #BB7BFB #FB7BFB
triadic
#BB7BFB #FBBB7B #7BFBBB
tetradic
#BB7BFB #FB7B7B #BBFB7B #7BFBFB
square
#BB7BFB #FB7B7B #BBFB7B #7BFBFB
split-complementary
#BB7BFB #FBFB7B #7BFB7B
monochromatic
#7E07F4 #9C40F9 #BB7BFB #DAB6FD #F0E1FE

Accessibility & contrast

On white

2.86
#BB7BFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#BB7BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7BFB
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7BFB#FFFFFF#000000##000000
##BB7BFB1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5397FF
Deuteranopia (green-blind)
#6699F8
Tritanopia (blue-blind)
#B092B0
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #bb7bfb;
/* rgb */ color: rgb(187, 123, 251);
/* oklch */ color: oklch(70.2% 0.188 305.2);
Tailwind
colors: {
  custom: {
    50: '#d2a3fd',
    500: '#bb7bfb',
    950: '#000000',
  },
}
SCSS
$custom: #bb7bfb;
$custom-light: #d2a3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7bfb",
  "rgb": {
    "r": 187,
    "g": 123,
    "b": 251
  },
  "hsl": {
    "h": 270,
    "s": 94.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.70211,
    "c": 0.18808,
    "h": 305.2
  },
  "luminance": 0.31696
}

Semantic roles & 50–950 ramp

primary
#BB7BFB
secondary
#E6F6D5
accent
#E60073
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86

Preview Lab

Preview with #BB7BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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