#B778F5#B778F5

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

Color values

HEX#B778F5
RGBrgb(183, 120, 245)
HSLhsl(270, 86%, 72%)
HSVhsv(270, 51%, 96%)
CMYKcmyk(25.3%, 51%, 0%, 3.9%)
CIE-LABlab(61.73, 47.95, -53.62)
CIE-LCHlch(61.73, 71.93, 311.80°)
OKLaboklab(69.01% 0.1069 -0.1506)
OKLCHoklch(69.01% 0.185 305.4)
XYZxyz(42.7229, 30.0931, 89.9263)
Luminance0.3009 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B778F5 #B6F578
analogous
#7978F5 #B778F5 #F578F5
triadic
#B778F5 #F5B778 #78F5B7
tetradic
#B778F5 #F57978 #B6F578 #78F5F5
square
#B778F5 #F57978 #B6F578 #78F5F5
split-complementary
#B778F5 #F5F578 #78F579
monochromatic
#7A11E2 #993FF1 #B778F5 #D5B1F9 #F0E3FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B778F5#FFFFFF#000000##000000
##B778F51.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)
#5193F9
Deuteranopia (green-blind)
#6495F2
Tritanopia (blue-blind)
#AD8EAB
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b778f5;
/* rgb */ color: rgb(183, 120, 245);
/* oklch */ color: oklch(69.0% 0.185 305.4);
Tailwind
colors: {
  custom: {
    50: '#cfa1f9',
    500: '#b778f5',
    950: '#000000',
  },
}
SCSS
$custom: #b778f5;
$custom-light: #cfa1f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b778f5",
  "rgb": {
    "r": 183,
    "g": 120,
    "b": 245
  },
  "hsl": {
    "h": 270.24,
    "s": 86.207,
    "l": 71.569
  },
  "oklch": {
    "l": 0.69008,
    "c": 0.18466,
    "h": 305.4
  },
  "luminance": 0.30093
}

Semantic roles & 50–950 ramp

primary
#B778F5
secondary
#E4F4D4
accent
#E30372
background
#FDFAFF
surface
#FAF3FF
border
#D3CDD7
text
#140F17
muted
#837F85

Preview Lab

Preview with #B778F5

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

Preview Lab → · Contrast checker → · Palette generator →

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