#BB7BF2#BB7BF2

#BB7BF2 is a light, vivid violet. Relative luminance 0.311; OKLCH L 69.7% C 0.178 H 307.2°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#BB7BF2
RGBrgb(187, 123, 242)
HSLhsl(272, 82%, 72%)
HSVhsv(272, 49%, 95%)
CMYKcmyk(22.7%, 49.2%, 0%, 5.1%)
CIE-LABlab(62.63, 46.70, -50.52)
CIE-LCHlch(62.63, 68.80, 312.75°)
OKLaboklab(69.72% 0.1075 -0.1415)
OKLCHoklch(69.72% 0.178 307.2)
XYZxyz(43.6003, 31.1420, 87.7013)
Luminance0.3114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB7BF2 #B2F27B
analogous
#807BF2 #BB7BF2 #F27BEE
triadic
#BB7BF2 #F2BB7B #7BF2BB
tetradic
#BB7BF2 #F2807B #B2F27B #7BEEF2
square
#BB7BF2 #F2807B #B2F27B #7BEEF2
split-complementary
#BB7BF2 #EEF27B #7BF280
monochromatic
#8116DD #9E43ED #BB7BF2 #D8B3F7 #F1E3FC

Accessibility & contrast

On white

2.91
#BB7BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#BB7BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB7BF2
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB7BF2#FFFFFF#000000##000000
##BB7BF21.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A95F6
Deuteranopia (green-blind)
#6C98EF
Tritanopia (blue-blind)
#B38FAB
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #bb7bf2;
/* rgb */ color: rgb(187, 123, 242);
/* oklch */ color: oklch(69.7% 0.178 307.2);
Tailwind
colors: {
  custom: {
    50: '#d2a3f7',
    500: '#bb7bf2',
    950: '#000000',
  },
}
SCSS
$custom: #bb7bf2;
$custom-light: #d2a3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb7bf2",
  "rgb": {
    "r": 187,
    "g": 123,
    "b": 242
  },
  "hsl": {
    "h": 272.269,
    "s": 82.069,
    "l": 71.569
  },
  "oklch": {
    "l": 0.69716,
    "c": 0.17766,
    "h": 307.2
  },
  "luminance": 0.31142
}

Semantic roles & 50–950 ramp

primary
#BB7BF2
secondary
#E3F4D5
accent
#DE076B
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB7BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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