#BB7FF6#BB7FF6

#BB7FF6 is a light, vivid violet. Relative luminance 0.324; OKLCH L 70.6% C 0.176 H 305.6°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#BB7FF6
RGBrgb(187, 127, 246)
HSLhsl(270, 87%, 73%)
HSVhsv(270, 48%, 96%)
CMYKcmyk(24%, 48.4%, 0%, 3.5%)
CIE-LABlab(63.67, 45.46, -51.07)
CIE-LCHlch(63.67, 68.38, 311.67°)
OKLaboklab(70.56% 0.1026 -0.1431)
OKLCHoklch(70.56% 0.176 305.6)
XYZxyz(44.7140, 32.3977, 91.0687)
Luminance0.3240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7FF6 #BAF67F
analogous
#7F7FF6 #BB7FF6 #F67FF5
triadic
#BB7FF6 #F6BB7F #7FF6BB
tetradic
#BB7FF6 #F67F7F #BAF67F #7FF5F6
square
#BB7FF6 #F67F7F #BAF67F #7FF5F6
split-complementary
#BB7FF6 #F5F67F #7FF67F
monochromatic
#7E10EA #9D46F2 #BB7FF6 #D9B8FA #F0E2FD

Accessibility & contrast

On white

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

On black

7.48
#BB7FF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7FF6
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7FF6#FFFFFF#000000##000000
##BB7FF61.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D98FA
Deuteranopia (green-blind)
#6E9BF3
Tritanopia (blue-blind)
#B294AF
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #bb7ff6;
/* rgb */ color: rgb(187, 127, 246);
/* oklch */ color: oklch(70.6% 0.176 305.6);
Tailwind
colors: {
  custom: {
    50: '#d2a5fa',
    500: '#bb7ff6',
    950: '#000000',
  },
}
SCSS
$custom: #bb7ff6;
$custom-light: #d2a5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7ff6",
  "rgb": {
    "r": 187,
    "g": 127,
    "b": 246
  },
  "hsl": {
    "h": 270.252,
    "s": 86.861,
    "l": 73.137
  },
  "oklch": {
    "l": 0.70558,
    "c": 0.17607,
    "h": 305.6
  },
  "luminance": 0.32397
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB7FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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