#BB7DE8#BB7DE8

#BB7DE8 is a light, vivid violet. Relative luminance 0.311; OKLCH L 69.5% C 0.163 H 309.5°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#BB7DE8
RGBrgb(187, 125, 232)
HSLhsl(275, 70%, 70%)
HSVhsv(275, 46%, 91%)
CMYKcmyk(19.4%, 46.1%, 0%, 9%)
CIE-LABlab(62.56, 43.40, -45.09)
CIE-LCHlch(62.56, 62.59, 313.91°)
OKLaboklab(69.5% 0.1036 -0.1257)
OKLCHoklch(69.5% 0.163 309.5)
XYZxyz(42.3899, 31.0588, 80.0901)
Luminance0.3106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7DE8 #AAE87D
analogous
#857DE8 #BB7DE8 #E87DE0
triadic
#BB7DE8 #E8BB7D #7DE8BB
tetradic
#BB7DE8 #E8857D #AAE87D #7DE0E8
square
#BB7DE8 #E8857D #AAE87D #7DE0E8
split-complementary
#BB7DE8 #E0E87D #7DE885
monochromatic
#8223C7 #A049DF #BB7DE8 #D6B1F1 #F1E5FA

Accessibility & contrast

On white

2.91
#BB7DE8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#BB7DE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7DE8
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7DE8#FFFFFF#000000##000000
##BB7DE81.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6494EC
Deuteranopia (green-blind)
#7498E5
Tritanopia (blue-blind)
#B58EA8
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #bb7de8;
/* rgb */ color: rgb(187, 125, 232);
/* oklch */ color: oklch(69.5% 0.163 309.5);
Tailwind
colors: {
  custom: {
    50: '#d1a4f0',
    500: '#bb7de8',
    950: '#000000',
  },
}
SCSS
$custom: #bb7de8;
$custom-light: #d1a4f0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7de8",
  "rgb": {
    "r": 187,
    "g": 125,
    "b": 232
  },
  "hsl": {
    "h": 274.766,
    "s": 69.935,
    "l": 70
  },
  "oklch": {
    "l": 0.69504,
    "c": 0.16287,
    "h": 309.5
  },
  "luminance": 0.31058
}

Semantic roles & 50–950 ramp

primary
#BB7DE8
secondary
#DEEFD1
accent
#D21464
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F16
muted
#837F84

Preview Lab

Preview with #BB7DE8

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

Preview Lab → · Contrast checker → · Palette generator →

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