#BB8EF7#BB8EF7

#BB8EF7 is a light, vivid violet. Relative luminance 0.366; OKLCH L 73.1% C 0.154 H 302.5°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#BB8EF7
RGBrgb(187, 142, 247)
HSLhsl(266, 87%, 76%)
HSVhsv(266, 43%, 97%)
CMYKcmyk(24.3%, 42.5%, 0%, 3.1%)
CIE-LABlab(67.00, 37.51, -46.37)
CIE-LCHlch(67.00, 59.65, 308.97°)
OKLaboklab(73.06% 0.0826 -0.1295)
OKLCHoklch(73.06% 0.154 302.5)
XYZxyz(46.9514, 36.6262, 92.5737)
Luminance0.3663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8EF7 #CAF78E
analogous
#8E96F7 #BB8EF7 #EF8EF7
triadic
#BB8EF7 #F7BB8E #8EF7BB
tetradic
#BB8EF7 #F78E96 #CAF78E #8EF7EF
square
#BB8EF7 #F78E96 #CAF78E #8EF7EF
split-complementary
#BB8EF7 #F7EF8E #96F78E
monochromatic
#761CEF #9955F3 #BB8EF7 #DDC7FB #EEE2FD

Accessibility & contrast

On white

2.52
#BB8EF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#BB8EF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8EF7
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8EF7#FFFFFF#000000##000000
##BB8EF71.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A2FB
Deuteranopia (green-blind)
#7CA3F4
Tritanopia (blue-blind)
#B0A0B7
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #bb8ef7;
/* rgb */ color: rgb(187, 142, 247);
/* oklch */ color: oklch(73.1% 0.154 302.5);
Tailwind
colors: {
  custom: {
    50: '#d1b0fa',
    500: '#bb8ef7',
    950: '#000000',
  },
}
SCSS
$custom: #bb8ef7;
$custom-light: #d1b0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8ef7",
  "rgb": {
    "r": 187,
    "g": 142,
    "b": 247
  },
  "hsl": {
    "h": 265.714,
    "s": 86.777,
    "l": 76.275
  },
  "oklch": {
    "l": 0.73064,
    "c": 0.15356,
    "h": 302.5
  },
  "luminance": 0.36626
}

Semantic roles & 50–950 ramp

primary
#BB8EF7
secondary
#E8F5D6
accent
#E30283
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #BB8EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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