#B778EA#B778EA

#B778EA is a light, vivid violet. Relative luminance 0.294; OKLCH L 68.4% C 0.172 H 308.0°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#B778EA
RGBrgb(183, 120, 234)
HSLhsl(273, 73%, 69%)
HSVhsv(273, 49%, 92%)
CMYKcmyk(21.8%, 48.7%, 0%, 8.2%)
CIE-LABlab(61.17, 45.45, -48.43)
CIE-LCHlch(61.17, 66.41, 313.19°)
OKLaboklab(68.41% 0.1058 -0.1354)
OKLCHoklch(68.41% 0.172 308)
XYZxyz(41.0933, 29.4412, 81.3439)
Luminance0.2944 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B778EA #ABEA78
analogous
#7E78EA #B778EA #EA78E4
triadic
#B778EA #EAB778 #78EAB7
tetradic
#B778EA #EA7E78 #ABEA78 #78E4EA
square
#B778EA #EA7E78 #ABEA78 #78E4EA
split-complementary
#B778EA #E4EA78 #78EA7E
monochromatic
#7D1FC8 #9B43E2 #B778EA #D3ADF2 #EFE2FA

Accessibility & contrast

On white

3.05
#B778EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#B778EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B778EA
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B778EA#FFFFFF#000000##000000
##B778EA1.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A91EE
Deuteranopia (green-blind)
#6B94E7
Tritanopia (blue-blind)
#B08BA6
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b778ea;
/* rgb */ color: rgb(183, 120, 234);
/* oklch */ color: oklch(68.4% 0.172 308.0);
Tailwind
colors: {
  custom: {
    50: '#cfa0f1',
    500: '#b778ea',
    950: '#000000',
  },
}
SCSS
$custom: #b778ea;
$custom-light: #cfa0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b778ea",
  "rgb": {
    "r": 183,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 273.158,
    "s": 73.077,
    "l": 69.412
  },
  "oklch": {
    "l": 0.68405,
    "c": 0.17189,
    "h": 308
  },
  "luminance": 0.29441
}

Semantic roles & 50–950 ramp

primary
#B778EA
secondary
#DDEFCE
accent
#D51068
background
#FCFAFE
surface
#F9F3FD
border
#D2CDD5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B778EA

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

Preview Lab → · Contrast checker → · Palette generator →

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