#B778F8#B778F8

#B778F8 is a light, vivid violet. Relative luminance 0.303; OKLCH L 69.2% C 0.188 H 304.7°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#B778F8
RGBrgb(183, 120, 248)
HSLhsl(270, 90%, 72%)
HSVhsv(270, 52%, 97%)
CMYKcmyk(26.2%, 51.6%, 0%, 2.7%)
CIE-LABlab(61.89, 48.64, -55.02)
CIE-LCHlch(61.89, 73.44, 311.48°)
OKLaboklab(69.18% 0.1071 -0.1547)
OKLCHoklch(69.18% 0.188 304.7)
XYZxyz(43.1845, 30.2777, 92.3579)
Luminance0.3028 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B778F8 #B9F878
analogous
#7879F8 #B778F8 #F778F8
triadic
#B778F8 #F8B778 #78F8B7
tetradic
#B778F8 #F87879 #B9F878 #78F8F7
square
#B778F8 #F87879 #B9F878 #78F8F7
split-complementary
#B778F8 #F8F778 #79F878
monochromatic
#790CE9 #983EF5 #B778F8 #D6B2FB #EFE2FD

Accessibility & contrast

On white

2.98
#B778F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#B778F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B778F8
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B778F8#FFFFFF#000000##000000
##B778F81.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F94FC
Deuteranopia (green-blind)
#6296F5
Tritanopia (blue-blind)
#AC8FAD
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b778f8;
/* rgb */ color: rgb(183, 120, 248);
/* oklch */ color: oklch(69.2% 0.188 304.7);
Tailwind
colors: {
  custom: {
    50: '#cfa1fb',
    500: '#b778f8',
    950: '#000000',
  },
}
SCSS
$custom: #b778f8;
$custom-light: #cfa1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b778f8",
  "rgb": {
    "r": 183,
    "g": 120,
    "b": 248
  },
  "hsl": {
    "h": 269.531,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.69177,
    "c": 0.18815,
    "h": 304.7
  },
  "luminance": 0.30278
}

Semantic roles & 50–950 ramp

primary
#B778F8
secondary
#E6F6D5
accent
#E60075
background
#FDFAFF
surface
#FAF3FF
border
#D3CDD7
text
#140F17
muted
#837F85

Preview Lab

Preview with #B778F8

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

Preview Lab → · Contrast checker → · Palette generator →

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