#BB7EF5#BB7EF5

#BB7EF5 is a light, vivid violet. Relative luminance 0.321; OKLCH L 70.3% C 0.176 H 306.0°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#BB7EF5
RGBrgb(187, 126, 245)
HSLhsl(271, 86%, 73%)
HSVhsv(271, 49%, 96%)
CMYKcmyk(23.7%, 48.6%, 0%, 3.9%)
CIE-LABlab(63.41, 45.77, -50.94)
CIE-LCHlch(63.41, 68.48, 311.94°)
OKLaboklab(70.35% 0.1038 -0.1427)
OKLCHoklch(70.35% 0.176 306)
XYZxyz(44.4324, 32.0794, 90.2197)
Luminance0.3208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7EF5 #B8F57E
analogous
#7F7EF5 #BB7EF5 #F57EF4
triadic
#BB7EF5 #F5BB7E #7EF5BB
tetradic
#BB7EF5 #F57F7E #B8F57E #7EF4F5
square
#BB7EF5 #F57F7E #B8F57E #7EF4F5
split-complementary
#BB7EF5 #F4F57E #7EF57F
monochromatic
#7F12E7 #9D45F1 #BB7EF5 #D9B7F9 #F0E3FD

Accessibility & contrast

On white

2.83
#BB7EF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#BB7EF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7EF5
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7EF5#FFFFFF#000000##000000
##BB7EF51.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C97F9
Deuteranopia (green-blind)
#6D9AF2
Tritanopia (blue-blind)
#B293AE
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #bb7ef5;
/* rgb */ color: rgb(187, 126, 245);
/* oklch */ color: oklch(70.3% 0.176 306.0);
Tailwind
colors: {
  custom: {
    50: '#d2a5f9',
    500: '#bb7ef5',
    950: '#000000',
  },
}
SCSS
$custom: #bb7ef5;
$custom-light: #d2a5f9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7ef5",
  "rgb": {
    "r": 187,
    "g": 126,
    "b": 245
  },
  "hsl": {
    "h": 270.756,
    "s": 85.612,
    "l": 72.745
  },
  "oklch": {
    "l": 0.70347,
    "c": 0.17646,
    "h": 306
  },
  "luminance": 0.32079
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB7EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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