#BB7FE6#BB7FE6

#BB7FE6 is a light, vivid violet. Relative luminance 0.315; OKLCH L 69.7% C 0.157 H 309.7°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#BB7FE6
RGBrgb(187, 127, 230)
HSLhsl(275, 67%, 70%)
HSVhsv(275, 45%, 90%)
CMYKcmyk(18.7%, 44.8%, 0%, 9.8%)
CIE-LABlab(62.89, 41.88, -43.46)
CIE-LCHlch(62.89, 60.35, 313.94°)
OKLaboklab(69.72% 0.1005 -0.121)
OKLCHoklch(69.72% 0.157 309.7)
XYZxyz(42.3632, 31.4573, 78.6878)
Luminance0.3146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7FE6 #AAE67F
analogous
#877FE6 #BB7FE6 #E67FDE
triadic
#BB7FE6 #E6BB7F #7FE6BB
tetradic
#BB7FE6 #E6877F #AAE67F #7FDEE6
square
#BB7FE6 #E6877F #AAE67F #7FDEE6
split-complementary
#BB7FE6 #DEE67F #7FE687
monochromatic
#8226C4 #A04CDC #BB7FE6 #D6B2F0 #F1E5FA

Accessibility & contrast

On white

2.88
#BB7FE6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#BB7FE6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7FE6
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7FE6#FFFFFF#000000##000000
##BB7FE61.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6795EA
Deuteranopia (green-blind)
#7799E3
Tritanopia (blue-blind)
#B68FA8
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #bb7fe6;
/* rgb */ color: rgb(187, 127, 230);
/* oklch */ color: oklch(69.7% 0.157 309.7);
Tailwind
colors: {
  custom: {
    50: '#d1a5ee',
    500: '#bb7fe6',
    950: '#000000',
  },
}
SCSS
$custom: #bb7fe6;
$custom-light: #d1a5ee;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7fe6",
  "rgb": {
    "r": 187,
    "g": 127,
    "b": 230
  },
  "hsl": {
    "h": 274.951,
    "s": 67.32,
    "l": 70
  },
  "oklch": {
    "l": 0.69723,
    "c": 0.15728,
    "h": 309.7
  },
  "luminance": 0.31457
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB7FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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