#B778FF#B778FF

#B778FF is a light, vivid violet. Relative luminance 0.307; OKLCH L 69.6% C 0.196 H 303.2°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#B778FF
RGBrgb(183, 120, 255)
HSLhsl(268, 100%, 74%)
HSVhsv(268, 53%, 100%)
CMYKcmyk(28.2%, 52.9%, 0%, 0%)
CIE-LABlab(62.27, 50.27, -58.27)
CIE-LCHlch(62.27, 76.96, 310.78°)
OKLaboklab(69.58% 0.1075 -0.1642)
OKLCHoklch(69.58% 0.196 303.2)
XYZxyz(44.2909, 30.7203, 98.1846)
Luminance0.3072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B778FF #C0FF78
analogous
#787CFF #B778FF #FA78FF
triadic
#B778FF #FFB778 #78FFB7
tetradic
#B778FF #FF787C #C0FF78 #78FFFA
square
#B778FF #FF787C #C0FF78 #78FFFA
split-complementary
#B778FF #FFFA78 #7CFF78
monochromatic
#7600FD #963BFF #B778FF #D8B5FF #EFE0FF

Accessibility & contrast

On white

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

On black

7.14
#B778FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B778FF
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B778FF#FFFFFF#000000##000000
##B778FF1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4895FF
Deuteranopia (green-blind)
#5C96FC
Tritanopia (blue-blind)
#AA92B0
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b778ff;
/* rgb */ color: rgb(183, 120, 255);
/* oklch */ color: oklch(69.6% 0.196 303.2);
Tailwind
colors: {
  custom: {
    50: '#d0a1ff',
    500: '#b778ff',
    950: '#000000',
  },
}
SCSS
$custom: #b778ff;
$custom-light: #d0a1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b778ff",
  "rgb": {
    "r": 183,
    "g": 120,
    "b": 255
  },
  "hsl": {
    "h": 268,
    "s": 100,
    "l": 73.529
  },
  "oklch": {
    "l": 0.69579,
    "c": 0.19627,
    "h": 303.2
  },
  "luminance": 0.3072
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B778FF

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

Preview Lab → · Contrast checker → · Palette generator →

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