#BB78FE#BB78FE

#BB78FE is a light, vivid violet. Relative luminance 0.312; OKLCH L 69.9% C 0.196 H 305.0°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#BB78FE
RGBrgb(187, 120, 254)
HSLhsl(270, 99%, 73%)
HSVhsv(270, 53%, 100%)
CMYKcmyk(26.4%, 52.8%, 0%, 0.4%)
CIE-LABlab(62.64, 51.02, -57.11)
CIE-LCHlch(62.64, 76.58, 311.77°)
OKLaboklab(69.93% 0.1123 -0.1607)
OKLCHoklch(69.93% 0.196 305)
XYZxyz(45.0955, 31.1537, 97.3843)
Luminance0.3115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB78FE #BBFE78
analogous
#7878FE #BB78FE #FE78FE
triadic
#BB78FE #FEBB78 #78FEBB
tetradic
#BB78FE #FE7878 #BBFE78 #78FEFE
square
#BB78FE #FE7878 #BBFE78 #78FEFE
split-complementary
#BB78FE #FEFE78 #78FE78
monochromatic
#7E02FA #9C3BFE #BB78FE #DAB5FE #F0E1FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB78FE#FFFFFF#000000##000000
##BB78FE1.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B96FF
Deuteranopia (green-blind)
#6098FB
Tritanopia (blue-blind)
#B091B0
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #bb78fe;
/* rgb */ color: rgb(187, 120, 254);
/* oklch */ color: oklch(69.9% 0.196 305.0);
Tailwind
colors: {
  custom: {
    50: '#d3a1ff',
    500: '#bb78fe',
    950: '#000000',
  },
}
SCSS
$custom: #bb78fe;
$custom-light: #d3a1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#bb78fe",
  "rgb": {
    "r": 187,
    "g": 120,
    "b": 254
  },
  "hsl": {
    "h": 270,
    "s": 98.529,
    "l": 73.333
  },
  "oklch": {
    "l": 0.69927,
    "c": 0.19607,
    "h": 305
  },
  "luminance": 0.31153
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB78FE

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

Preview Lab → · Contrast checker → · Palette generator →

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