#BB81F2#BB81F2

#BB81F2 is a light, vivid violet. Relative luminance 0.327; OKLCH L 70.7% C 0.168 H 306.3°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#BB81F2
RGBrgb(187, 129, 242)
HSLhsl(271, 81%, 73%)
HSVhsv(271, 47%, 95%)
CMYKcmyk(22.7%, 46.7%, 0%, 5.1%)
CIE-LABlab(63.90, 43.48, -48.51)
CIE-LCHlch(63.90, 65.14, 311.87°)
OKLaboklab(70.66% 0.0995 -0.1356)
OKLCHoklch(70.66% 0.168 306.3)
XYZxyz(44.3675, 32.6765, 87.9570)
Luminance0.3268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB81F2 #B8F281
analogous
#8281F2 #BB81F2 #F281F1
triadic
#BB81F2 #F2BB81 #81F2BB
tetradic
#BB81F2 #F28281 #B8F281 #81F1F2
square
#BB81F2 #F28281 #B8F281 #81F1F2
split-complementary
#BB81F2 #F1F281 #81F282
monochromatic
#7F17E1 #9D4AEC #BB81F2 #D9B8F8 #F0E3FC

Accessibility & contrast

On white

2.79
#BB81F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#BB81F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB81F2
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB81F2#FFFFFF#000000##000000
##BB81F21.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6399F6
Deuteranopia (green-blind)
#729BEF
Tritanopia (blue-blind)
#B394AE
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #bb81f2;
/* rgb */ color: rgb(187, 129, 242);
/* oklch */ color: oklch(70.7% 0.168 306.3);
Tailwind
colors: {
  custom: {
    50: '#d2a7f7',
    500: '#bb81f2',
    950: '#000000',
  },
}
SCSS
$custom: #bb81f2;
$custom-light: #d2a7f7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb81f2",
  "rgb": {
    "r": 187,
    "g": 129,
    "b": 242
  },
  "hsl": {
    "h": 270.796,
    "s": 81.295,
    "l": 72.745
  },
  "oklch": {
    "l": 0.70663,
    "c": 0.16819,
    "h": 306.3
  },
  "luminance": 0.32676
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB81F2

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

Preview Lab → · Contrast checker → · Palette generator →

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