#BB7EE7#BB7EE7

#BB7EE7 is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.6% C 0.160 H 309.6°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#BB7EE7
RGBrgb(187, 126, 231)
HSLhsl(275, 69%, 70%)
HSVhsv(275, 45%, 91%)
CMYKcmyk(19%, 45.5%, 0%, 9.4%)
CIE-LABlab(62.72, 42.64, -44.28)
CIE-LCHlch(62.72, 61.47, 313.92°)
OKLaboklab(69.61% 0.1021 -0.1233)
OKLCHoklch(69.61% 0.16 309.6)
XYZxyz(42.3755, 31.2567, 79.3866)
Luminance0.3126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7EE7 #AAE77E
analogous
#877EE7 #BB7EE7 #E77EDE
triadic
#BB7EE7 #E7BB7E #7EE7BB
tetradic
#BB7EE7 #E7877E #AAE77E #7EDEE7
square
#BB7EE7 #E7877E #AAE77E #7EDEE7
split-complementary
#BB7EE7 #DEE77E #7EE787
monochromatic
#8225C6 #A04ADD #BB7EE7 #D6B2F1 #F1E5FA

Accessibility & contrast

On white

2.90
#BB7EE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#BB7EE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7EE7
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7EE7#FFFFFF#000000##000000
##BB7EE71.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6695EB
Deuteranopia (green-blind)
#7699E4
Tritanopia (blue-blind)
#B68FA8
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #bb7ee7;
/* rgb */ color: rgb(187, 126, 231);
/* oklch */ color: oklch(69.6% 0.160 309.6);
Tailwind
colors: {
  custom: {
    50: '#d1a5ef',
    500: '#bb7ee7',
    950: '#000000',
  },
}
SCSS
$custom: #bb7ee7;
$custom-light: #d1a5ef;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7ee7",
  "rgb": {
    "r": 187,
    "g": 126,
    "b": 231
  },
  "hsl": {
    "h": 274.857,
    "s": 68.627,
    "l": 70
  },
  "oklch": {
    "l": 0.69613,
    "c": 0.16008,
    "h": 309.6
  },
  "luminance": 0.31256
}

Semantic roles & 50–950 ramp

primary
#BB7EE7
secondary
#DEEFD2
accent
#D11564
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F16
muted
#837F84

Preview Lab

Preview with #BB7EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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