#BB7EF4#BB7EF4

#BB7EF4 is a light, vivid violet. Relative luminance 0.320; OKLCH L 70.3% C 0.175 H 306.3°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#BB7EF4
RGBrgb(187, 126, 244)
HSLhsl(271, 84%, 73%)
HSVhsv(271, 48%, 96%)
CMYKcmyk(23.4%, 48.4%, 0%, 4.3%)
CIE-LABlab(63.36, 45.55, -50.47)
CIE-LCHlch(63.36, 67.98, 312.07°)
OKLaboklab(70.29% 0.1037 -0.1413)
OKLCHoklch(70.29% 0.175 306.3)
XYZxyz(44.2802, 32.0185, 89.4179)
Luminance0.3202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7EF4 #B7F47E
analogous
#807EF4 #BB7EF4 #F47EF2
triadic
#BB7EF4 #F4BB7E #7EF4BB
tetradic
#BB7EF4 #F4807E #B7F47E #7EF2F4
square
#BB7EF4 #F4807E #B7F47E #7EF2F4
split-complementary
#BB7EF4 #F2F47E #7EF480
monochromatic
#7F13E4 #9D46EF #BB7EF4 #D9B6F9 #F0E3FD

Accessibility & contrast

On white

2.84
#BB7EF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#BB7EF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7EF4
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7EF4#FFFFFF#000000##000000
##BB7EF41.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D97F8
Deuteranopia (green-blind)
#6E9AF1
Tritanopia (blue-blind)
#B292AE
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #bb7ef4;
/* rgb */ color: rgb(187, 126, 244);
/* oklch */ color: oklch(70.3% 0.175 306.3);
Tailwind
colors: {
  custom: {
    50: '#d2a5f8',
    500: '#bb7ef4',
    950: '#000000',
  },
}
SCSS
$custom: #bb7ef4;
$custom-light: #d2a5f8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7ef4",
  "rgb": {
    "r": 187,
    "g": 126,
    "b": 244
  },
  "hsl": {
    "h": 271.017,
    "s": 84.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.70293,
    "c": 0.17528,
    "h": 306.3
  },
  "luminance": 0.32018
}

Semantic roles & 50–950 ramp

primary
#BB7EF4
secondary
#E5F5D6
accent
#E1056F
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB7EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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