#B771F9#B771F9

#B771F9 is a light, vivid violet. Relative luminance 0.287; OKLCH L 68.2% C 0.200 H 305.5°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#B771F9
RGBrgb(183, 113, 249)
HSLhsl(271, 92%, 71%)
HSVhsv(271, 55%, 98%)
CMYKcmyk(26.5%, 54.6%, 0%, 2.4%)
CIE-LABlab(60.53, 52.55, -57.75)
CIE-LCHlch(60.53, 78.08, 312.30°)
OKLaboklab(68.19% 0.116 -0.1626)
OKLCHoklch(68.19% 0.2 305.5)
XYZxyz(42.5288, 28.7174, 92.9067)
Luminance0.2872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B771F9 #B3F971
analogous
#7371F9 #B771F9 #F971F7
triadic
#B771F9 #F9B771 #71F9B7
tetradic
#B771F9 #F97371 #B3F971 #71F7F9
square
#B771F9 #F97371 #B3F971 #71F7F9
split-complementary
#B771F9 #F7F971 #71F973
monochromatic
#7B0AE6 #9936F7 #B771F9 #D5ACFB #F0E2FE

Accessibility & contrast

On white

3.11
#B771F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#B771F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B771F9
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B771F9#FFFFFF#000000##000000
##B771F91.003.116.746.74
#FFFFFF3.111.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4090FE
Deuteranopia (green-blind)
#5992F6
Tritanopia (blue-blind)
#AC8BAA
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b771f9;
/* rgb */ color: rgb(183, 113, 249);
/* oklch */ color: oklch(68.2% 0.200 305.5);
Tailwind
colors: {
  custom: {
    50: '#d09cfc',
    500: '#b771f9',
    950: '#000000',
  },
}
SCSS
$custom: #b771f9;
$custom-light: #d09cfc;
$custom-dark: #000000;
JSON
{
  "hex": "#b771f9",
  "rgb": {
    "r": 183,
    "g": 113,
    "b": 249
  },
  "hsl": {
    "h": 270.882,
    "s": 91.892,
    "l": 70.98
  },
  "oklch": {
    "l": 0.6819,
    "c": 0.19978,
    "h": 305.5
  },
  "luminance": 0.28717
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B771F9

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

Preview Lab → · Contrast checker → · Palette generator →

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