#B778F7#B778F7

#B778F7 is a light, vivid violet. Relative luminance 0.302; OKLCH L 69.1% C 0.187 H 304.9°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#B778F7
RGBrgb(183, 120, 247)
HSLhsl(270, 89%, 72%)
HSVhsv(270, 51%, 97%)
CMYKcmyk(25.9%, 51.4%, 0%, 3.1%)
CIE-LABlab(61.84, 48.41, -54.56)
CIE-LCHlch(61.84, 72.94, 311.58°)
OKLaboklab(69.12% 0.107 -0.1533)
OKLCHoklch(69.12% 0.187 304.9)
XYZxyz(43.0298, 30.2159, 91.5430)
Luminance0.3022 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B778F7 #B8F778
analogous
#7879F7 #B778F7 #F778F7
triadic
#B778F7 #F7B778 #78F7B7
tetradic
#B778F7 #F77879 #B8F778 #78F7F7
square
#B778F7 #F77879 #B8F778 #78F7F7
split-complementary
#B778F7 #F7F778 #79F778
monochromatic
#790EE7 #983EF4 #B778F7 #D6B2FA #F0E2FD

Accessibility & contrast

On white

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

On black

7.04
#B778F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B778F7
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B778F7#FFFFFF#000000##000000
##B778F71.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5094FB
Deuteranopia (green-blind)
#6396F4
Tritanopia (blue-blind)
#AC8FAC
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b778f7;
/* rgb */ color: rgb(183, 120, 247);
/* oklch */ color: oklch(69.1% 0.187 304.9);
Tailwind
colors: {
  custom: {
    50: '#cfa1fa',
    500: '#b778f7',
    950: '#000000',
  },
}
SCSS
$custom: #b778f7;
$custom-light: #cfa1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b778f7",
  "rgb": {
    "r": 183,
    "g": 120,
    "b": 247
  },
  "hsl": {
    "h": 269.764,
    "s": 88.811,
    "l": 71.961
  },
  "oklch": {
    "l": 0.69121,
    "c": 0.18698,
    "h": 304.9
  },
  "luminance": 0.30216
}

Semantic roles & 50–950 ramp

primary
#B778F7
secondary
#E6F5D5
accent
#E50074
background
#FDFAFF
surface
#FAF3FF
border
#D3CDD7
text
#140F17
muted
#837F85

Preview Lab

Preview with #B778F7

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

Preview Lab → · Contrast checker → · Palette generator →

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