#B778FE#B778FE

#B778FE is a light, vivid violet. Relative luminance 0.307; OKLCH L 69.5% C 0.195 H 303.4°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#B778FE
RGBrgb(183, 120, 254)
HSLhsl(268, 99%, 73%)
HSVhsv(268, 53%, 100%)
CMYKcmyk(28%, 52.8%, 0%, 0.4%)
CIE-LABlab(62.22, 50.03, -57.81)
CIE-LCHlch(62.22, 76.45, 310.87°)
OKLaboklab(69.52% 0.1075 -0.1628)
OKLCHoklch(69.52% 0.195 303.4)
XYZxyz(44.1303, 30.6561, 97.3390)
Luminance0.3066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B778FE #BFFE78
analogous
#787CFE #B778FE #FA78FE
triadic
#B778FE #FEB778 #78FEB7
tetradic
#B778FE #FE787C #BFFE78 #78FEFA
square
#B778FE #FE787C #BFFE78 #78FEFA
split-complementary
#B778FE #FEFA78 #7CFE78
monochromatic
#7602FA #973BFE #B778FE #D7B5FE #EFE1FF

Accessibility & contrast

On white

2.94
#B778FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#B778FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B778FE
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B778FE#FFFFFF#000000##000000
##B778FE1.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4995FF
Deuteranopia (green-blind)
#5D96FB
Tritanopia (blue-blind)
#AA91B0
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b778fe;
/* rgb */ color: rgb(183, 120, 254);
/* oklch */ color: oklch(69.5% 0.195 303.4);
Tailwind
colors: {
  custom: {
    50: '#d0a1ff',
    500: '#b778fe',
    950: '#000000',
  },
}
SCSS
$custom: #b778fe;
$custom-light: #d0a1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b778fe",
  "rgb": {
    "r": 183,
    "g": 120,
    "b": 254
  },
  "hsl": {
    "h": 268.209,
    "s": 98.529,
    "l": 73.333
  },
  "oklch": {
    "l": 0.69521,
    "c": 0.19512,
    "h": 303.4
  },
  "luminance": 0.30656
}

Semantic roles & 50–950 ramp

primary
#B778FE
secondary
#E7F7D4
accent
#E6007A
background
#FDFAFF
surface
#FAF3FF
border
#D3CDD7
text
#140F18
muted
#837F86

Preview Lab

Preview with #B778FE

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

Preview Lab → · Contrast checker → · Palette generator →

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