#BB78FD#BB78FD

#BB78FD is a light, vivid violet. Relative luminance 0.311; OKLCH L 69.9% C 0.195 H 305.2°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#BB78FD
RGBrgb(187, 120, 253)
HSLhsl(270, 97%, 73%)
HSVhsv(270, 53%, 99%)
CMYKcmyk(26.1%, 52.6%, 0%, 0.8%)
CIE-LABlab(62.58, 50.79, -56.65)
CIE-LCHlch(62.58, 76.09, 311.88°)
OKLaboklab(69.87% 0.1123 -0.1593)
OKLCHoklch(69.87% 0.195 305.2)
XYZxyz(44.9358, 31.0899, 96.5431)
Luminance0.3109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB78FD #BAFD78
analogous
#7878FD #BB78FD #FD78FC
triadic
#BB78FD #FDBB78 #78FDBB
tetradic
#BB78FD #FD7878 #BAFD78 #78FCFD
square
#BB78FD #FD7878 #BAFD78 #78FCFD
split-complementary
#BB78FD #FCFD78 #78FD78
monochromatic
#7E04F7 #9D3CFC #BB78FD #D9B4FE #F0E1FF

Accessibility & contrast

On white

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

On black

7.22
#BB78FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB78FD
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB78FD#FFFFFF#000000##000000
##BB78FD1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C95FF
Deuteranopia (green-blind)
#6198FA
Tritanopia (blue-blind)
#B090AF
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #bb78fd;
/* rgb */ color: rgb(187, 120, 253);
/* oklch */ color: oklch(69.9% 0.195 305.2);
Tailwind
colors: {
  custom: {
    50: '#d2a1ff',
    500: '#bb78fd',
    950: '#000000',
  },
}
SCSS
$custom: #bb78fd;
$custom-light: #d2a1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#bb78fd",
  "rgb": {
    "r": 187,
    "g": 120,
    "b": 253
  },
  "hsl": {
    "h": 270.226,
    "s": 97.08,
    "l": 73.137
  },
  "oklch": {
    "l": 0.6987,
    "c": 0.19493,
    "h": 305.2
  },
  "luminance": 0.3109
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB78FD

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

Preview Lab → · Contrast checker → · Palette generator →

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