#B771F8#B771F8

#B771F8 is a light, vivid violet. Relative luminance 0.287; OKLCH L 68.1% C 0.199 H 305.7°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#B771F8
RGBrgb(183, 113, 248)
HSLhsl(271, 91%, 71%)
HSVhsv(271, 54%, 97%)
CMYKcmyk(26.2%, 54.4%, 0%, 2.7%)
CIE-LABlab(60.48, 52.32, -57.28)
CIE-LCHlch(60.48, 77.58, 312.41°)
OKLaboklab(68.13% 0.116 -0.1613)
OKLCHoklch(68.13% 0.199 305.7)
XYZxyz(42.3733, 28.6552, 92.0875)
Luminance0.2866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B771F8 #B2F871
analogous
#7371F8 #B771F8 #F871F6
triadic
#B771F8 #F8B771 #71F8B7
tetradic
#B771F8 #F87371 #B2F871 #71F6F8
square
#B771F8 #F87371 #B2F871 #71F6F8
split-complementary
#B771F8 #F6F871 #71F873
monochromatic
#7B0BE3 #9937F5 #B771F8 #D5ABFB #F0E2FE

Accessibility & contrast

On white

3.12
#B771F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#B771F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B771F8
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B771F8#FFFFFF#000000##000000
##B771F81.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4190FC
Deuteranopia (green-blind)
#5A92F5
Tritanopia (blue-blind)
#AC8AAA
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b771f8;
/* rgb */ color: rgb(183, 113, 248);
/* oklch */ color: oklch(68.1% 0.199 305.7);
Tailwind
colors: {
  custom: {
    50: '#d09cfb',
    500: '#b771f8',
    950: '#000000',
  },
}
SCSS
$custom: #b771f8;
$custom-light: #d09cfb;
$custom-dark: #000000;
JSON
{
  "hex": "#b771f8",
  "rgb": {
    "r": 183,
    "g": 113,
    "b": 248
  },
  "hsl": {
    "h": 271.111,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.68132,
    "c": 0.19865,
    "h": 305.7
  },
  "luminance": 0.28655
}

Semantic roles & 50–950 ramp

primary
#B771F8
secondary
#E2F5D0
accent
#E6006F
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B771F8

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

Preview Lab → · Contrast checker → · Palette generator →

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