#B771F6#B771F6

#B771F6 is a light, vivid violet. Relative luminance 0.285; OKLCH L 68.0% C 0.196 H 306.2°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#B771F6
RGBrgb(183, 113, 246)
HSLhsl(272, 88%, 70%)
HSVhsv(272, 54%, 96%)
CMYKcmyk(25.6%, 54.1%, 0%, 3.5%)
CIE-LABlab(60.37, 51.87, -56.35)
CIE-LCHlch(60.37, 76.59, 312.63°)
OKLaboklab(68.02% 0.1159 -0.1586)
OKLCHoklch(68.02% 0.196 306.2)
XYZxyz(42.0646, 28.5317, 90.4621)
Luminance0.2853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B771F6 #B0F671
analogous
#7471F6 #B771F6 #F671F2
triadic
#B771F6 #F6B771 #71F6B7
tetradic
#B771F6 #F67471 #B0F671 #71F2F6
square
#B771F6 #F67471 #B0F671 #71F2F6
split-complementary
#B771F6 #F2F671 #71F674
monochromatic
#7C0EDE #9A37F2 #B771F6 #D4ABFA #F0E2FD

Accessibility & contrast

On white

3.13
#B771F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#B771F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B771F6
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B771F6#FFFFFF#000000##000000
##B771F61.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#448FFA
Deuteranopia (green-blind)
#5C92F3
Tritanopia (blue-blind)
#AD8AA9
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b771f6;
/* rgb */ color: rgb(183, 113, 246);
/* oklch */ color: oklch(68.0% 0.196 306.2);
Tailwind
colors: {
  custom: {
    50: '#d09cfa',
    500: '#b771f6',
    950: '#000000',
  },
}
SCSS
$custom: #b771f6;
$custom-light: #d09cfa;
$custom-dark: #000000;
JSON
{
  "hex": "#b771f6",
  "rgb": {
    "r": 183,
    "g": 113,
    "b": 246
  },
  "hsl": {
    "h": 271.579,
    "s": 88.079,
    "l": 70.392
  },
  "oklch": {
    "l": 0.68015,
    "c": 0.1964,
    "h": 306.2
  },
  "luminance": 0.28531
}

Semantic roles & 50–950 ramp

primary
#B771F6
secondary
#E0F4CF
accent
#E5016D
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B771F6

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

Preview Lab → · Contrast checker → · Palette generator →

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