#B778FD#B778FD

#B778FD is a light, vivid violet. Relative luminance 0.306; OKLCH L 69.5% C 0.194 H 303.6°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#B778FD
RGBrgb(183, 120, 253)
HSLhsl(268, 97%, 73%)
HSVhsv(268, 53%, 99%)
CMYKcmyk(27.7%, 52.6%, 0%, 0.8%)
CIE-LABlab(62.16, 49.80, -57.35)
CIE-LCHlch(62.16, 75.95, 310.97°)
OKLaboklab(69.46% 0.1074 -0.1615)
OKLCHoklch(69.46% 0.194 303.6)
XYZxyz(43.9706, 30.5922, 96.4979)
Luminance0.3059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B778FD #BEFD78
analogous
#787BFD #B778FD #F978FD
triadic
#B778FD #FDB778 #78FDB7
tetradic
#B778FD #FD787B #BEFD78 #78FDF9
square
#B778FD #FD787B #BEFD78 #78FDF9
split-complementary
#B778FD #FDF978 #7BFD78
monochromatic
#7704F7 #973CFC #B778FD #D7B4FE #EFE1FF

Accessibility & contrast

On white

2.95
#B778FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#B778FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B778FD
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B778FD#FFFFFF#000000##000000
##B778FD1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A95FF
Deuteranopia (green-blind)
#5E96FA
Tritanopia (blue-blind)
#AA91AF
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b778fd;
/* rgb */ color: rgb(183, 120, 253);
/* oklch */ color: oklch(69.5% 0.194 303.6);
Tailwind
colors: {
  custom: {
    50: '#d0a1ff',
    500: '#b778fd',
    950: '#000000',
  },
}
SCSS
$custom: #b778fd;
$custom-light: #d0a1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b778fd",
  "rgb": {
    "r": 183,
    "g": 120,
    "b": 253
  },
  "hsl": {
    "h": 268.421,
    "s": 97.08,
    "l": 73.137
  },
  "oklch": {
    "l": 0.69463,
    "c": 0.19395,
    "h": 303.6
  },
  "luminance": 0.30592
}

Semantic roles & 50–950 ramp

primary
#B778FD
secondary
#E6F7D4
accent
#E60079
background
#FDFAFF
surface
#FAF3FF
border
#D3CDD7
text
#140F18
muted
#837F86

Preview Lab

Preview with #B778FD

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

Preview Lab → · Contrast checker → · Palette generator →

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