#BB8EF2#BB8EF2

#BB8EF2 is a light, vivid violet. Relative luminance 0.363; OKLCH L 72.8% C 0.147 H 303.7°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#BB8EF2
RGBrgb(187, 142, 242)
HSLhsl(267, 79%, 75%)
HSVhsv(267, 41%, 95%)
CMYKcmyk(22.7%, 41.3%, 0%, 5.1%)
CIE-LABlab(66.77, 36.36, -44.00)
CIE-LCHlch(66.77, 57.07, 309.57°)
OKLaboklab(72.82% 0.0818 -0.1226)
OKLCHoklch(72.82% 0.147 303.7)
XYZxyz(46.1901, 36.3217, 88.5646)
Luminance0.3632 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8EF2 #C5F28E
analogous
#8E93F2 #BB8EF2 #ED8EF2
triadic
#BB8EF2 #F2BB8E #8EF2BB
tetradic
#BB8EF2 #F28E93 #C5F28E #8EF2ED
square
#BB8EF2 #F28E93 #C5F28E #8EF2ED
split-complementary
#BB8EF2 #F2ED8E #93F28E
monochromatic
#7920E5 #9A57EC #BB8EF2 #DCC5F8 #EEE4FC

Accessibility & contrast

On white

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

On black

8.26
#BB8EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8EF2
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8EF2#FFFFFF#000000##000000
##BB8EF21.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A1F6
Deuteranopia (green-blind)
#7FA2EF
Tritanopia (blue-blind)
#B29EB4
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #bb8ef2;
/* rgb */ color: rgb(187, 142, 242);
/* oklch */ color: oklch(72.8% 0.147 303.7);
Tailwind
colors: {
  custom: {
    50: '#d1aff7',
    500: '#bb8ef2',
    950: '#000000',
  },
}
SCSS
$custom: #bb8ef2;
$custom-light: #d1aff7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8ef2",
  "rgb": {
    "r": 187,
    "g": 142,
    "b": 242
  },
  "hsl": {
    "h": 267,
    "s": 79.365,
    "l": 75.294
  },
  "oklch": {
    "l": 0.72815,
    "c": 0.14733,
    "h": 303.7
  },
  "luminance": 0.36322
}

Semantic roles & 50–950 ramp

primary
#BB8EF2
secondary
#E7F4D7
accent
#DC0A7D
background
#FDFAFF
surface
#FAF4FE
border
#D3CED6
text
#141017
muted
#837F85

Preview Lab

Preview with #BB8EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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