#BB7EFA#BB7EFA

#BB7EFA is a light, vivid violet. Relative luminance 0.324; OKLCH L 70.6% C 0.182 H 304.9°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#BB7EFA
RGBrgb(187, 126, 250)
HSLhsl(270, 93%, 74%)
HSVhsv(270, 50%, 98%)
CMYKcmyk(25.2%, 49.6%, 0%, 2%)
CIE-LABlab(63.66, 46.92, -53.29)
CIE-LCHlch(63.66, 71.00, 311.36°)
OKLaboklab(70.62% 0.1043 -0.1495)
OKLCHoklch(70.62% 0.182 304.9)
XYZxyz(45.2060, 32.3889, 94.2941)
Luminance0.3239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7EFA #BDFA7E
analogous
#7E7FFA #BB7EFA #F97EFA
triadic
#BB7EFA #FABB7E #7EFABB
tetradic
#BB7EFA #FA7E7F #BDFA7E #7EFAF9
square
#BB7EFA #FA7E7F #BDFA7E #7EFAF9
split-complementary
#BB7EFA #FAF97E #7FFA7E
monochromatic
#7D09F4 #9C43F8 #BB7EFA #DAB9FC #EFE2FE

Accessibility & contrast

On white

2.81
#BB7EFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#BB7EFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7EFA
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7EFA#FFFFFF#000000##000000
##BB7EFA1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5998FE
Deuteranopia (green-blind)
#6A9AF7
Tritanopia (blue-blind)
#B194B1
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #bb7efa;
/* rgb */ color: rgb(187, 126, 250);
/* oklch */ color: oklch(70.6% 0.182 304.9);
Tailwind
colors: {
  custom: {
    50: '#d2a5fc',
    500: '#bb7efa',
    950: '#000000',
  },
}
SCSS
$custom: #bb7efa;
$custom-light: #d2a5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7efa",
  "rgb": {
    "r": 187,
    "g": 126,
    "b": 250
  },
  "hsl": {
    "h": 269.516,
    "s": 92.537,
    "l": 73.725
  },
  "oklch": {
    "l": 0.70619,
    "c": 0.18232,
    "h": 304.9
  },
  "luminance": 0.32389
}

Semantic roles & 50–950 ramp

primary
#BB7EFA
secondary
#E6F6D5
accent
#E60075
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB7EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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