#BB8DEF#BB8DEF

#BB8DEF is a light, vivid violet. Relative luminance 0.358; OKLCH L 72.5% C 0.145 H 304.7°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#BB8DEF
RGBrgb(187, 141, 239)
HSLhsl(268, 75%, 75%)
HSVhsv(268, 41%, 94%)
CMYKcmyk(21.8%, 41%, 0%, 6.3%)
CIE-LABlab(66.40, 36.22, -42.92)
CIE-LCHlch(66.40, 56.16, 310.17°)
OKLaboklab(72.5% 0.0826 -0.1194)
OKLCHoklch(72.5% 0.145 304.7)
XYZxyz(45.5952, 35.8467, 86.1617)
Luminance0.3585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB8DEF #C1EF8D
analogous
#8D90EF #BB8DEF #EC8DEF
triadic
#BB8DEF #EFBB8D #8DEFBB
tetradic
#BB8DEF #EF8D90 #C1EF8D #8DEFEC
square
#BB8DEF #EF8D90 #C1EF8D #8DEFEC
split-complementary
#BB8DEF #EFEC8D #90EF8D
monochromatic
#7B22E0 #9B57E7 #BB8DEF #DBC3F7 #EFE4FB

Accessibility & contrast

On white

2.57
#BB8DEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#BB8DEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB8DEF
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB8DEF#FFFFFF#000000##000000
##BB8DEF1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A0F3
Deuteranopia (green-blind)
#80A2EC
Tritanopia (blue-blind)
#B39DB3
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #bb8def;
/* rgb */ color: rgb(187, 141, 239);
/* oklch */ color: oklch(72.5% 0.145 304.7);
Tailwind
colors: {
  custom: {
    50: '#d1aff4',
    500: '#bb8def',
    950: '#000000',
  },
}
SCSS
$custom: #bb8def;
$custom-light: #d1aff4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb8def",
  "rgb": {
    "r": 187,
    "g": 141,
    "b": 239
  },
  "hsl": {
    "h": 268.163,
    "s": 75.385,
    "l": 74.51
  },
  "oklch": {
    "l": 0.72497,
    "c": 0.14522,
    "h": 304.7
  },
  "luminance": 0.35847
}

Semantic roles & 50–950 ramp

primary
#BB8DEF
secondary
#E6F3D8
accent
#D80E79
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #BB8DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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