#BB78FF#BB78FF

#BB78FF is a light, vivid violet. Relative luminance 0.312; OKLCH L 70.0% C 0.197 H 304.7°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#BB78FF
RGBrgb(187, 120, 255)
HSLhsl(270, 100%, 74%)
HSVhsv(270, 53%, 100%)
CMYKcmyk(26.7%, 52.9%, 0%, 0%)
CIE-LABlab(62.69, 51.25, -57.58)
CIE-LCHlch(62.69, 77.08, 311.67°)
OKLaboklab(69.98% 0.1124 -0.1621)
OKLCHoklch(69.98% 0.197 304.7)
XYZxyz(45.2561, 31.2180, 98.2298)
Luminance0.3122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB78FF #BCFF78
analogous
#7878FF #BB78FF #FF78FF
triadic
#BB78FF #FFBB78 #78FFBB
tetradic
#BB78FF #FF7878 #BCFF78 #78FFFF
square
#BB78FF #FF7878 #BCFF78 #78FFFF
split-complementary
#BB78FF #FFFF78 #78FF78
monochromatic
#7D00FD #9C3BFF #BB78FF #DAB5FF #F0E0FF

Accessibility & contrast

On white

2.90
#BB78FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#BB78FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB78FF
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB78FF#FFFFFF#000000##000000
##BB78FF1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A96FF
Deuteranopia (green-blind)
#6098FC
Tritanopia (blue-blind)
#AF91B0
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #bb78ff;
/* rgb */ color: rgb(187, 120, 255);
/* oklch */ color: oklch(70.0% 0.197 304.7);
Tailwind
colors: {
  custom: {
    50: '#d3a1ff',
    500: '#bb78ff',
    950: '#000000',
  },
}
SCSS
$custom: #bb78ff;
$custom-light: #d3a1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#bb78ff",
  "rgb": {
    "r": 187,
    "g": 120,
    "b": 255
  },
  "hsl": {
    "h": 269.778,
    "s": 100,
    "l": 73.529
  },
  "oklch": {
    "l": 0.69984,
    "c": 0.19722,
    "h": 304.7
  },
  "luminance": 0.31218
}

Semantic roles & 50–950 ramp

primary
#BB78FF
secondary
#E6F7D4
accent
#E60074
background
#FDFAFF
surface
#FAF3FF
border
#D3CDD7
text
#140F18
muted
#837F86

Preview Lab

Preview with #BB78FF

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

Preview Lab → · Contrast checker → · Palette generator →

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