#B778FC#B778FC

#B778FC is a light, vivid violet. Relative luminance 0.305; OKLCH L 69.4% C 0.193 H 303.8°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#B778FC
RGBrgb(183, 120, 252)
HSLhsl(269, 96%, 73%)
HSVhsv(269, 52%, 99%)
CMYKcmyk(27.4%, 52.4%, 0%, 1.2%)
CIE-LABlab(62.11, 49.57, -56.88)
CIE-LCHlch(62.11, 75.45, 311.07°)
OKLaboklab(69.41% 0.1074 -0.1601)
OKLCHoklch(69.41% 0.193 303.8)
XYZxyz(43.8117, 30.5286, 95.6611)
Luminance0.3053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B778FC #BDFC78
analogous
#787BFC #B778FC #F978FC
triadic
#B778FC #FCB778 #78FCB7
tetradic
#B778FC #FC787B #BDFC78 #78FCF9
square
#B778FC #FC787B #BDFC78 #78FCF9
split-complementary
#B778FC #FCF978 #7BFC78
monochromatic
#7705F4 #973CFB #B778FC #D7B4FD #EFE1FE

Accessibility & contrast

On white

2.96
#B778FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#B778FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B778FC
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B778FC#FFFFFF#000000##000000
##B778FC1.002.967.117.11
#FFFFFF2.961.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B95FF
Deuteranopia (green-blind)
#5F96F9
Tritanopia (blue-blind)
#AB91AF
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b778fc;
/* rgb */ color: rgb(183, 120, 252);
/* oklch */ color: oklch(69.4% 0.193 303.8);
Tailwind
colors: {
  custom: {
    50: '#d0a1fe',
    500: '#b778fc',
    950: '#000000',
  },
}
SCSS
$custom: #b778fc;
$custom-light: #d0a1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b778fc",
  "rgb": {
    "r": 183,
    "g": 120,
    "b": 252
  },
  "hsl": {
    "h": 268.636,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.69405,
    "c": 0.19279,
    "h": 303.8
  },
  "luminance": 0.30528
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B778FC

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

Preview Lab → · Contrast checker → · Palette generator →

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