#B776F5#B776F5

#B776F5 is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.7% C 0.188 H 305.7°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#B776F5
RGBrgb(183, 118, 245)
HSLhsl(271, 86%, 71%)
HSVhsv(271, 52%, 96%)
CMYKcmyk(25.3%, 51.8%, 0%, 3.9%)
CIE-LABlab(61.32, 49.01, -54.28)
CIE-LCHlch(61.32, 73.13, 312.08°)
OKLaboklab(68.7% 0.1095 -0.1525)
OKLCHoklch(68.7% 0.188 305.7)
XYZxyz(42.4848, 29.6170, 89.8470)
Luminance0.2962 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B776F5 #B4F576
analogous
#7776F5 #B776F5 #F576F3
triadic
#B776F5 #F5B776 #76F5B7
tetradic
#B776F5 #F57776 #B4F576 #76F3F5
square
#B776F5 #F57776 #B4F576 #76F3F5
split-complementary
#B776F5 #F3F576 #76F577
monochromatic
#7B10E0 #993DF1 #B776F5 #D5AFF9 #F0E2FD

Accessibility & contrast

On white

3.03
#B776F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#B776F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B776F5
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B776F5#FFFFFF#000000##000000
##B776F51.003.036.926.92
#FFFFFF3.031.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E92F9
Deuteranopia (green-blind)
#6294F2
Tritanopia (blue-blind)
#AD8DAB
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b776f5;
/* rgb */ color: rgb(183, 118, 245);
/* oklch */ color: oklch(68.7% 0.188 305.7);
Tailwind
colors: {
  custom: {
    50: '#cf9ff9',
    500: '#b776f5',
    950: '#000000',
  },
}
SCSS
$custom: #b776f5;
$custom-light: #cf9ff9;
$custom-dark: #000000;
JSON
{
  "hex": "#b776f5",
  "rgb": {
    "r": 183,
    "g": 118,
    "b": 245
  },
  "hsl": {
    "h": 270.709,
    "s": 86.395,
    "l": 71.176
  },
  "oklch": {
    "l": 0.68703,
    "c": 0.18772,
    "h": 305.7
  },
  "luminance": 0.29617
}

Semantic roles & 50–950 ramp

primary
#B776F5
secondary
#E3F4D3
accent
#E30370
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140F17
muted
#837E85

Preview Lab

Preview with #B776F5

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

Preview Lab → · Contrast checker → · Palette generator →

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