#BB8EFD#BB8EFD

#BB8EFD is a light, vivid violet. Relative luminance 0.370; OKLCH L 73.4% C 0.161 H 301.2°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#BB8EFD
RGBrgb(187, 142, 253)
HSLhsl(264, 97%, 77%)
HSVhsv(264, 44%, 99%)
CMYKcmyk(26.1%, 43.9%, 0%, 0.8%)
CIE-LABlab(67.28, 38.91, -49.21)
CIE-LCHlch(67.28, 62.73, 308.34°)
OKLaboklab(73.37% 0.0835 -0.1377)
OKLCHoklch(73.37% 0.161 301.2)
XYZxyz(47.8922, 37.0025, 97.5286)
Luminance0.3700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8EFD #D0FD8E
analogous
#8E99FD #BB8EFD #F28EFD
triadic
#BB8EFD #FDBB8E #8EFDBB
tetradic
#BB8EFD #FD8E99 #D0FD8E #8EFDF2
square
#BB8EFD #FD8E99 #D0FD8E #8EFDF2
split-complementary
#BB8EFD #FDF28E #99FD8E
monochromatic
#7316FB #9752FC #BB8EFD #DFCAFE #EDE1FE

Accessibility & contrast

On white

2.50
#BB8EFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#BB8EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8EFD
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8EFD#FFFFFF#000000##000000
##BB8EFD1.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA3FF
Deuteranopia (green-blind)
#79A3FA
Tritanopia (blue-blind)
#AFA1B9
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #bb8efd;
/* rgb */ color: rgb(187, 142, 253);
/* oklch */ color: oklch(73.4% 0.161 301.2);
Tailwind
colors: {
  custom: {
    50: '#d2b0fe',
    500: '#bb8efd',
    950: '#000000',
  },
}
SCSS
$custom: #bb8efd;
$custom-light: #d2b0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8efd",
  "rgb": {
    "r": 187,
    "g": 142,
    "b": 253
  },
  "hsl": {
    "h": 264.324,
    "s": 96.522,
    "l": 77.451
  },
  "oklch": {
    "l": 0.7337,
    "c": 0.16104,
    "h": 301.2
  },
  "luminance": 0.37003
}

Semantic roles & 50–950 ramp

primary
#BB8EFD
secondary
#E9F7D4
accent
#E60088
background
#FDFAFF
surface
#FAF5FF
border
#D3CFD7
text
#141018
muted
#837F86

Preview Lab

Preview with #BB8EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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