#B771F5#B771F5

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

Color values

HEX#B771F5
RGBrgb(183, 113, 245)
HSLhsl(272, 87%, 70%)
HSVhsv(272, 54%, 96%)
CMYKcmyk(25.3%, 53.9%, 0%, 3.9%)
CIE-LABlab(60.31, 51.64, -55.89)
CIE-LCHlch(60.31, 76.09, 312.74°)
OKLaboklab(67.96% 0.1158 -0.1572)
OKLCHoklch(67.96% 0.195 306.4)
XYZxyz(41.9116, 28.4705, 89.6559)
Luminance0.2847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B771F5 #AFF571
analogous
#7571F5 #B771F5 #F571F1
triadic
#B771F5 #F5B771 #71F5B7
tetradic
#B771F5 #F57571 #AFF571 #71F1F5
square
#B771F5 #F57571 #AFF571 #71F1F5
split-complementary
#B771F5 #F1F571 #71F575
monochromatic
#7C10DC #9A38F1 #B771F5 #D4AAF9 #F1E2FD

Accessibility & contrast

On white

3.14
#B771F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#B771F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B771F5
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B771F5#FFFFFF#000000##000000
##B771F51.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#458FF9
Deuteranopia (green-blind)
#5C92F2
Tritanopia (blue-blind)
#AD89A8
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b771f5;
/* rgb */ color: rgb(183, 113, 245);
/* oklch */ color: oklch(68.0% 0.195 306.4);
Tailwind
colors: {
  custom: {
    50: '#d09cf9',
    500: '#b771f5',
    950: '#000000',
  },
}
SCSS
$custom: #b771f5;
$custom-light: #d09cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#b771f5",
  "rgb": {
    "r": 183,
    "g": 113,
    "b": 245
  },
  "hsl": {
    "h": 271.818,
    "s": 86.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.67957,
    "c": 0.19527,
    "h": 306.4
  },
  "luminance": 0.2847
}

Semantic roles & 50–950 ramp

primary
#B771F5
secondary
#E0F3CF
accent
#E3026C
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B771F5

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

Preview Lab → · Contrast checker → · Palette generator →

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