#BB7FF5#BB7FF5

#BB7FF5 is a light, vivid violet. Relative luminance 0.323; OKLCH L 70.5% C 0.175 H 305.9°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#BB7FF5
RGBrgb(187, 127, 245)
HSLhsl(271, 86%, 73%)
HSVhsv(271, 48%, 96%)
CMYKcmyk(23.7%, 48.2%, 0%, 3.9%)
CIE-LABlab(63.62, 45.24, -50.60)
CIE-LCHlch(63.62, 67.88, 311.79°)
OKLaboklab(70.5% 0.1025 -0.1417)
OKLCHoklch(70.5% 0.175 305.9)
XYZxyz(44.5609, 32.3364, 90.2625)
Luminance0.3234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7FF5 #B9F57F
analogous
#807FF5 #BB7FF5 #F57FF4
triadic
#BB7FF5 #F5BB7F #7FF5BB
tetradic
#BB7FF5 #F5807F #B9F57F #7FF4F5
square
#BB7FF5 #F5807F #B9F57F #7FF4F5
split-complementary
#BB7FF5 #F4F57F #7FF580
monochromatic
#7F12E8 #9D46F1 #BB7FF5 #D9B8F9 #F0E3FD

Accessibility & contrast

On white

2.81
#BB7FF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#BB7FF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7FF5
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7FF5#FFFFFF#000000##000000
##BB7FF51.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E98F9
Deuteranopia (green-blind)
#6E9AF2
Tritanopia (blue-blind)
#B293AF
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #bb7ff5;
/* rgb */ color: rgb(187, 127, 245);
/* oklch */ color: oklch(70.5% 0.175 305.9);
Tailwind
colors: {
  custom: {
    50: '#d2a5f9',
    500: '#bb7ff5',
    950: '#000000',
  },
}
SCSS
$custom: #bb7ff5;
$custom-light: #d2a5f9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7ff5",
  "rgb": {
    "r": 187,
    "g": 127,
    "b": 245
  },
  "hsl": {
    "h": 270.508,
    "s": 85.507,
    "l": 72.941
  },
  "oklch": {
    "l": 0.70504,
    "c": 0.17489,
    "h": 305.9
  },
  "luminance": 0.32336
}

Semantic roles & 50–950 ramp

primary
#BB7FF5
secondary
#E5F5D6
accent
#E20371
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB7FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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