#BB7EDB#BB7EDB

#BB7EDB is a light, vivid violet. Relative luminance 0.306; OKLCH L 69.0% C 0.146 H 313.2°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#BB7EDB
RGBrgb(187, 126, 219)
HSLhsl(279, 56%, 68%)
HSVhsv(279, 42%, 86%)
CMYKcmyk(14.6%, 42.5%, 0%, 14.1%)
CIE-LABlab(62.17, 40.05, -38.46)
CIE-LCHlch(62.17, 55.53, 316.15°)
OKLaboklab(69.02% 0.1001 -0.1065)
OKLCHoklch(69.02% 0.146 313.2)
XYZxyz(40.7384, 30.6018, 70.7648)
Luminance0.3060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7EDB #9EDB7E
analogous
#8C7EDB #BB7EDB #DB7ECC
triadic
#BB7EDB #DBBB7E #7EDBBB
tetradic
#BB7EDB #DB8C7E #9EDB7E #7ECCDB
square
#BB7EDB #DB8C7E #9EDB7E #7ECCDB
split-complementary
#BB7EDB #CCDB7E #7EDB8C
monochromatic
#8331AE #A24ECE #BB7EDB #D4AEE8 #EDDEF6

Accessibility & contrast

On white

2.95
#BB7EDB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#BB7EDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7EDB
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7EDB#FFFFFF#000000##000000
##BB7EDB1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C93DE
Deuteranopia (green-blind)
#7C98D8
Tritanopia (blue-blind)
#B88BA2
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #bb7edb;
/* rgb */ color: rgb(187, 126, 219);
/* oklch */ color: oklch(69.0% 0.146 313.2);
Tailwind
colors: {
  custom: {
    50: '#d1a4e6',
    500: '#bb7edb',
    950: '#000000',
  },
}
SCSS
$custom: #bb7edb;
$custom-light: #d1a4e6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7edb",
  "rgb": {
    "r": 187,
    "g": 126,
    "b": 219
  },
  "hsl": {
    "h": 279.355,
    "s": 56.364,
    "l": 67.647
  },
  "oklch": {
    "l": 0.69017,
    "c": 0.14619,
    "h": 313.2
  },
  "luminance": 0.30601
}

Semantic roles & 50–950 ramp

primary
#BB7EDB
secondary
#D6E9CC
accent
#C42259
background
#FDFAFE
surface
#FAF4FC
border
#D3CED5
text
#140F16
muted
#837F84

Preview Lab

Preview with #BB7EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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