#BB8EF3#BB8EF3

#BB8EF3 is a light, vivid violet. Relative luminance 0.364; OKLCH L 72.9% C 0.149 H 303.5°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#BB8EF3
RGBrgb(187, 142, 243)
HSLhsl(267, 81%, 75%)
HSVhsv(267, 42%, 95%)
CMYKcmyk(23%, 41.6%, 0%, 4.7%)
CIE-LABlab(66.81, 36.59, -44.47)
CIE-LCHlch(66.81, 57.59, 309.44°)
OKLaboklab(72.86% 0.0819 -0.1239)
OKLCHoklch(72.86% 0.149 303.5)
XYZxyz(46.3407, 36.3820, 89.3577)
Luminance0.3638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8EF3 #C6F38E
analogous
#8E93F3 #BB8EF3 #EE8EF3
triadic
#BB8EF3 #F3BB8E #8EF3BB
tetradic
#BB8EF3 #F38E93 #C6F38E #8EF3EE
square
#BB8EF3 #F38E93 #C6F38E #8EF3EE
split-complementary
#BB8EF3 #F3EE8E #93F38E
monochromatic
#781FE7 #9A57ED #BB8EF3 #DCC5F9 #EEE3FC

Accessibility & contrast

On white

2.54
#BB8EF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#BB8EF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8EF3
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8EF3#FFFFFF#000000##000000
##BB8EF31.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A1F7
Deuteranopia (green-blind)
#7FA2F0
Tritanopia (blue-blind)
#B29FB5
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #bb8ef3;
/* rgb */ color: rgb(187, 142, 243);
/* oklch */ color: oklch(72.9% 0.149 303.5);
Tailwind
colors: {
  custom: {
    50: '#d1aff7',
    500: '#bb8ef3',
    950: '#000000',
  },
}
SCSS
$custom: #bb8ef3;
$custom-light: #d1aff7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8ef3",
  "rgb": {
    "r": 187,
    "g": 142,
    "b": 243
  },
  "hsl": {
    "h": 266.733,
    "s": 80.8,
    "l": 75.49
  },
  "oklch": {
    "l": 0.72864,
    "c": 0.14857,
    "h": 303.5
  },
  "luminance": 0.36382
}

Semantic roles & 50–950 ramp

primary
#BB8EF3
secondary
#E7F4D7
accent
#DD087E
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #BB8EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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