#BB7FE8#BB7FE8

#BB7FE8 is a light, vivid violet. Relative luminance 0.316; OKLCH L 69.8% C 0.160 H 309.2°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#BB7FE8
RGBrgb(187, 127, 232)
HSLhsl(274, 70%, 70%)
HSVhsv(274, 45%, 91%)
CMYKcmyk(19.4%, 45.3%, 0%, 9%)
CIE-LABlab(62.99, 42.32, -44.42)
CIE-LCHlch(62.99, 61.35, 313.61°)
OKLaboklab(69.82% 0.1008 -0.1237)
OKLCHoklch(69.82% 0.16 309.2)
XYZxyz(42.6456, 31.5703, 80.1754)
Luminance0.3157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7FE8 #ACE87F
analogous
#877FE8 #BB7FE8 #E87FE0
triadic
#BB7FE8 #E8BB7F #7FE8BB
tetradic
#BB7FE8 #E8877F #ACE87F #7FE0E8
square
#BB7FE8 #E8877F #ACE87F #7FE0E8
split-complementary
#BB7FE8 #E0E87F #7FE887
monochromatic
#8224C9 #9F4BDF #BB7FE8 #D7B3F1 #F1E5FA

Accessibility & contrast

On white

2.87
#BB7FE8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#BB7FE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7FE8
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7FE8#FFFFFF#000000##000000
##BB7FE81.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6696EC
Deuteranopia (green-blind)
#7699E5
Tritanopia (blue-blind)
#B590A9
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #bb7fe8;
/* rgb */ color: rgb(187, 127, 232);
/* oklch */ color: oklch(69.8% 0.160 309.2);
Tailwind
colors: {
  custom: {
    50: '#d1a5f0',
    500: '#bb7fe8',
    950: '#000000',
  },
}
SCSS
$custom: #bb7fe8;
$custom-light: #d1a5f0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7fe8",
  "rgb": {
    "r": 187,
    "g": 127,
    "b": 232
  },
  "hsl": {
    "h": 274.286,
    "s": 69.536,
    "l": 70.392
  },
  "oklch": {
    "l": 0.69824,
    "c": 0.15962,
    "h": 309.2
  },
  "luminance": 0.3157
}

Semantic roles & 50–950 ramp

primary
#BB7FE8
secondary
#DFF0D3
accent
#D21465
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F16
muted
#837F84

Preview Lab

Preview with #BB7FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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