#BB7EEF#BB7EEF

#BB7EEF is a light, vivid violet. Relative luminance 0.317; OKLCH L 70.0% C 0.169 H 307.5°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#BB7EEF
RGBrgb(187, 126, 239)
HSLhsl(272, 78%, 72%)
HSVhsv(272, 47%, 94%)
CMYKcmyk(21.8%, 47.3%, 0%, 6.3%)
CIE-LABlab(63.11, 44.42, -48.10)
CIE-LCHlch(63.11, 65.47, 312.72°)
OKLaboklab(70.03% 0.1031 -0.1344)
OKLCHoklch(70.03% 0.169 307.5)
XYZxyz(43.5313, 31.7190, 85.4737)
Luminance0.3172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7EEF #B2EF7E
analogous
#837EEF #BB7EEF #EF7EEB
triadic
#BB7EEF #EFBB7E #7EEFBB
tetradic
#BB7EEF #EF837E #B2EF7E #7EEBEF
square
#BB7EEF #EF837E #B2EF7E #7EEBEF
split-complementary
#BB7EEF #EBEF7E #7EEF83
monochromatic
#811BD8 #9E48E8 #BB7EEF #D8B4F6 #F1E4FC

Accessibility & contrast

On white

2.86
#BB7EEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#BB7EEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7EEF
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7EEF#FFFFFF#000000##000000
##BB7EEF1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6196F3
Deuteranopia (green-blind)
#7199EC
Tritanopia (blue-blind)
#B391AB
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #bb7eef;
/* rgb */ color: rgb(187, 126, 239);
/* oklch */ color: oklch(70.0% 0.169 307.5);
Tailwind
colors: {
  custom: {
    50: '#d2a5f5',
    500: '#bb7eef',
    950: '#000000',
  },
}
SCSS
$custom: #bb7eef;
$custom-light: #d2a5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7eef",
  "rgb": {
    "r": 187,
    "g": 126,
    "b": 239
  },
  "hsl": {
    "h": 272.389,
    "s": 77.931,
    "l": 71.569
  },
  "oklch": {
    "l": 0.70027,
    "c": 0.16942,
    "h": 307.5
  },
  "luminance": 0.31718
}

Semantic roles & 50–950 ramp

primary
#BB7EEF
secondary
#E3F3D6
accent
#DA0B6B
background
#FDFAFF
surface
#FAF4FE
border
#D3CED6
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB7EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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