#B778F6#B778F6

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

Color values

HEX#B778F6
RGBrgb(183, 120, 246)
HSLhsl(270, 88%, 72%)
HSVhsv(270, 51%, 96%)
CMYKcmyk(25.6%, 51.2%, 0%, 3.5%)
CIE-LABlab(61.79, 48.18, -54.09)
CIE-LCHlch(61.79, 72.43, 311.69°)
OKLaboklab(69.06% 0.1069 -0.152)
OKLCHoklch(69.06% 0.186 305.1)
XYZxyz(42.8759, 30.1543, 90.7325)
Luminance0.3015 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B778F6 #B7F678
analogous
#7878F6 #B778F6 #F678F6
triadic
#B778F6 #F6B778 #78F6B7
tetradic
#B778F6 #F67878 #B7F678 #78F6F6
square
#B778F6 #F67878 #B7F678 #78F6F6
split-complementary
#B778F6 #F6F678 #78F678
monochromatic
#7A0FE4 #983FF2 #B778F6 #D6B1FA #F0E2FD

Accessibility & contrast

On white

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

On black

7.03
#B778F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B778F6
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B778F6#FFFFFF#000000##000000
##B778F61.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5093FA
Deuteranopia (green-blind)
#6395F3
Tritanopia (blue-blind)
#AD8FAC
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b778f6;
/* rgb */ color: rgb(183, 120, 246);
/* oklch */ color: oklch(69.1% 0.186 305.1);
Tailwind
colors: {
  custom: {
    50: '#cfa1fa',
    500: '#b778f6',
    950: '#000000',
  },
}
SCSS
$custom: #b778f6;
$custom-light: #cfa1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b778f6",
  "rgb": {
    "r": 183,
    "g": 120,
    "b": 246
  },
  "hsl": {
    "h": 270,
    "s": 87.5,
    "l": 71.765
  },
  "oklch": {
    "l": 0.69064,
    "c": 0.18583,
    "h": 305.1
  },
  "luminance": 0.30154
}

Semantic roles & 50–950 ramp

primary
#B778F6
secondary
#E5F5D5
accent
#E40173
background
#FDFAFF
surface
#FAF3FF
border
#D3CDD7
text
#140F17
muted
#837F85

Preview Lab

Preview with #B778F6

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

Preview Lab → · Contrast checker → · Palette generator →

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