#BB7FF2#BB7FF2

#BB7FF2 is a light, vivid violet. Relative luminance 0.322; OKLCH L 70.3% C 0.171 H 306.6°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#BB7FF2
RGBrgb(187, 127, 242)
HSLhsl(271, 82%, 72%)
HSVhsv(271, 48%, 95%)
CMYKcmyk(22.7%, 47.5%, 0%, 5.1%)
CIE-LABlab(63.47, 44.56, -49.19)
CIE-LCHlch(63.47, 66.37, 312.17°)
OKLaboklab(70.34% 0.1022 -0.1376)
OKLCHoklch(70.34% 0.171 306.6)
XYZxyz(44.1066, 32.1547, 87.8701)
Luminance0.3215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7FF2 #B6F27F
analogous
#817FF2 #BB7FF2 #F27FF0
triadic
#BB7FF2 #F2BB7F #7FF2BB
tetradic
#BB7FF2 #F2817F #B6F27F #7FF0F2
square
#BB7FF2 #F2817F #B6F27F #7FF0F2
split-complementary
#BB7FF2 #F0F27F #7FF281
monochromatic
#8017E0 #9D47EC #BB7FF2 #D9B7F8 #F0E3FC

Accessibility & contrast

On white

2.83
#BB7FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#BB7FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7FF2
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7FF2#FFFFFF#000000##000000
##BB7FF21.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6098F6
Deuteranopia (green-blind)
#709AEF
Tritanopia (blue-blind)
#B393AD
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #bb7ff2;
/* rgb */ color: rgb(187, 127, 242);
/* oklch */ color: oklch(70.3% 0.171 306.6);
Tailwind
colors: {
  custom: {
    50: '#d2a5f7',
    500: '#bb7ff2',
    950: '#000000',
  },
}
SCSS
$custom: #bb7ff2;
$custom-light: #d2a5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7ff2",
  "rgb": {
    "r": 187,
    "g": 127,
    "b": 242
  },
  "hsl": {
    "h": 271.304,
    "s": 81.56,
    "l": 72.353
  },
  "oklch": {
    "l": 0.70344,
    "c": 0.17136,
    "h": 306.6
  },
  "luminance": 0.32154
}

Semantic roles & 50–950 ramp

primary
#BB7FF2
secondary
#E5F4D7
accent
#DE086E
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB7FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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