#BB78ED#BB78ED

#BB78ED is a light, vivid violet. Relative luminance 0.301; OKLCH L 69.0% C 0.177 H 308.9°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#BB78ED
RGBrgb(187, 120, 237)
HSLhsl(274, 76%, 70%)
HSVhsv(274, 49%, 93%)
CMYKcmyk(21.1%, 49.4%, 0%, 7.1%)
CIE-LABlab(61.75, 47.19, -49.14)
CIE-LCHlch(61.75, 68.13, 313.84°)
OKLaboklab(68.98% 0.111 -0.1374)
OKLCHoklch(68.98% 0.177 308.9)
XYZxyz(42.4931, 30.1128, 83.6781)
Luminance0.3011 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB78ED #AAED78
analogous
#8078ED #BB78ED #ED78E5
triadic
#BB78ED #EDBB78 #78EDBB
tetradic
#BB78ED #ED8078 #AAED78 #78E5ED
square
#BB78ED #ED8078 #AAED78 #78E5ED
split-complementary
#BB78ED #E5ED78 #78ED80
monochromatic
#821CCF #A042E6 #BB78ED #D6AEF4 #F1E4FB

Accessibility & contrast

On white

2.99
#BB78ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#BB78ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB78ED
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB78ED#FFFFFF#000000##000000
##BB78ED1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5992F1
Deuteranopia (green-blind)
#6C96EA
Tritanopia (blue-blind)
#B48CA8
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #bb78ed;
/* rgb */ color: rgb(187, 120, 237);
/* oklch */ color: oklch(69.0% 0.177 308.9);
Tailwind
colors: {
  custom: {
    50: '#d2a1f3',
    500: '#bb78ed',
    950: '#000000',
  },
}
SCSS
$custom: #bb78ed;
$custom-light: #d2a1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb78ed",
  "rgb": {
    "r": 187,
    "g": 120,
    "b": 237
  },
  "hsl": {
    "h": 274.359,
    "s": 76.471,
    "l": 70
  },
  "oklch": {
    "l": 0.68984,
    "c": 0.17663,
    "h": 308.9
  },
  "luminance": 0.30112
}

Semantic roles & 50–950 ramp

primary
#BB78ED
secondary
#DEF1D0
accent
#D90D64
background
#FDFAFE
surface
#FAF3FD
border
#D3CDD5
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB78ED

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

Preview Lab → · Contrast checker → · Palette generator →

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