#BB78FC#BB78FC

#BB78FC is a light, vivid violet. Relative luminance 0.310; OKLCH L 69.8% C 0.194 H 305.4°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#BB78FC
RGBrgb(187, 120, 252)
HSLhsl(270, 96%, 73%)
HSVhsv(270, 52%, 99%)
CMYKcmyk(25.8%, 52.4%, 0%, 1.2%)
CIE-LABlab(62.53, 50.56, -56.19)
CIE-LCHlch(62.53, 75.59, 311.98°)
OKLaboklab(69.81% 0.1122 -0.158)
OKLCHoklch(69.81% 0.194 305.4)
XYZxyz(44.7769, 31.0263, 95.7063)
Luminance0.3103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB78FC #B9FC78
analogous
#7978FC #BB78FC #FC78FB
triadic
#BB78FC #FCBB78 #78FCBB
tetradic
#BB78FC #FC7978 #B9FC78 #78FBFC
square
#BB78FC #FC7978 #B9FC78 #78FBFC
split-complementary
#BB78FC #FBFC78 #78FC79
monochromatic
#7F05F4 #9D3CFB #BB78FC #D9B4FD #F0E1FE

Accessibility & contrast

On white

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

On black

7.21
#BB78FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB78FC
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB78FC#FFFFFF#000000##000000
##BB78FC1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D95FF
Deuteranopia (green-blind)
#6297F9
Tritanopia (blue-blind)
#B090AF
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #bb78fc;
/* rgb */ color: rgb(187, 120, 252);
/* oklch */ color: oklch(69.8% 0.194 305.4);
Tailwind
colors: {
  custom: {
    50: '#d2a1fe',
    500: '#bb78fc',
    950: '#000000',
  },
}
SCSS
$custom: #bb78fc;
$custom-light: #d2a1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#bb78fc",
  "rgb": {
    "r": 187,
    "g": 120,
    "b": 252
  },
  "hsl": {
    "h": 270.455,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.69813,
    "c": 0.19378,
    "h": 305.4
  },
  "luminance": 0.31026
}

Semantic roles & 50–950 ramp

primary
#BB78FC
secondary
#E5F7D4
accent
#E60071
background
#FDFAFF
surface
#FAF3FF
border
#D3CDD7
text
#140F18
muted
#837F86

Preview Lab

Preview with #BB78FC

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

Preview Lab → · Contrast checker → · Palette generator →

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