#B778FB#B778FB

#B778FB is a light, vivid violet. Relative luminance 0.305; OKLCH L 69.3% C 0.192 H 304.0°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#B778FB
RGBrgb(183, 120, 251)
HSLhsl(269, 94%, 73%)
HSVhsv(269, 52%, 98%)
CMYKcmyk(27.1%, 52.2%, 0%, 1.6%)
CIE-LABlab(62.05, 49.33, -56.42)
CIE-LCHlch(62.05, 74.95, 311.17°)
OKLaboklab(69.35% 0.1073 -0.1588)
OKLCHoklch(69.35% 0.192 304)
XYZxyz(43.6537, 30.4654, 94.8287)
Luminance0.3046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B778FB #BCFB78
analogous
#787AFB #B778FB #F978FB
triadic
#B778FB #FBB778 #78FBB7
tetradic
#B778FB #FB787A #BCFB78 #78FBF9
square
#B778FB #FB787A #BCFB78 #78FBF9
split-complementary
#B778FB #FBF978 #7AFB78
monochromatic
#7807F1 #973DF9 #B778FB #D7B3FD #EFE1FE

Accessibility & contrast

On white

2.96
#B778FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#B778FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B778FB
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B778FB#FFFFFF#000000##000000
##B778FB1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C94FF
Deuteranopia (green-blind)
#5F96F8
Tritanopia (blue-blind)
#AB90AE
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b778fb;
/* rgb */ color: rgb(183, 120, 251);
/* oklch */ color: oklch(69.3% 0.192 304.0);
Tailwind
colors: {
  custom: {
    50: '#d0a1fd',
    500: '#b778fb',
    950: '#000000',
  },
}
SCSS
$custom: #b778fb;
$custom-light: #d0a1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b778fb",
  "rgb": {
    "r": 183,
    "g": 120,
    "b": 251
  },
  "hsl": {
    "h": 268.855,
    "s": 94.245,
    "l": 72.745
  },
  "oklch": {
    "l": 0.69348,
    "c": 0.19163,
    "h": 304
  },
  "luminance": 0.30465
}

Semantic roles & 50–950 ramp

primary
#B778FB
secondary
#E6F6D5
accent
#E60077
background
#FDFAFF
surface
#FAF3FF
border
#D3CDD7
text
#140F18
muted
#837F86

Preview Lab

Preview with #B778FB

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

Preview Lab → · Contrast checker → · Palette generator →

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