#BB7BEF#BB7BEF

#BB7BEF is a light, vivid violet. Relative luminance 0.310; OKLCH L 69.6% C 0.174 H 308.0°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#BB7BEF
RGBrgb(187, 123, 239)
HSLhsl(273, 78%, 71%)
HSVhsv(273, 49%, 94%)
CMYKcmyk(21.8%, 48.5%, 0%, 6.3%)
CIE-LABlab(62.48, 46.03, -49.10)
CIE-LCHlch(62.48, 67.30, 313.15°)
OKLaboklab(69.56% 0.1072 -0.1373)
OKLCHoklch(69.56% 0.174 308)
XYZxyz(43.1534, 30.9632, 85.3478)
Luminance0.3096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7BEF #AFEF7B
analogous
#817BEF #BB7BEF #EF7BE9
triadic
#BB7BEF #EFBB7B #7BEFBB
tetradic
#BB7BEF #EF817B #AFEF7B #7BE9EF
square
#BB7BEF #EF817B #AFEF7B #7BE9EF
split-complementary
#BB7BEF #E9EF7B #7BEF81
monochromatic
#821AD6 #9F44E8 #BB7BEF #D7B2F6 #F1E4FC

Accessibility & contrast

On white

2.92
#BB7BEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#BB7BEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7BEF
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7BEF#FFFFFF#000000##000000
##BB7BEF1.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C94F3
Deuteranopia (green-blind)
#6E98EC
Tritanopia (blue-blind)
#B48FAA
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #bb7bef;
/* rgb */ color: rgb(187, 123, 239);
/* oklch */ color: oklch(69.6% 0.174 308.0);
Tailwind
colors: {
  custom: {
    50: '#d2a3f5',
    500: '#bb7bef',
    950: '#000000',
  },
}
SCSS
$custom: #bb7bef;
$custom-light: #d2a3f5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7bef",
  "rgb": {
    "r": 187,
    "g": 123,
    "b": 239
  },
  "hsl": {
    "h": 273.103,
    "s": 78.378,
    "l": 70.98
  },
  "oklch": {
    "l": 0.69555,
    "c": 0.17419,
    "h": 308
  },
  "luminance": 0.30963
}

Semantic roles & 50–950 ramp

primary
#BB7BEF
secondary
#E1F2D3
accent
#DB0B68
background
#FDFAFF
surface
#FAF4FE
border
#D3CED6
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB7BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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