#B771F4#B771F4

#B771F4 is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.9% C 0.194 H 306.6°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#B771F4
RGBrgb(183, 113, 244)
HSLhsl(272, 86%, 70%)
HSVhsv(272, 54%, 96%)
CMYKcmyk(25%, 53.7%, 0%, 4.3%)
CIE-LABlab(60.26, 51.42, -55.42)
CIE-LCHlch(60.26, 75.60, 312.85°)
OKLaboklab(67.9% 0.1158 -0.1558)
OKLCHoklch(67.9% 0.194 306.6)
XYZxyz(41.7593, 28.4096, 88.8541)
Luminance0.2841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B771F4 #AEF471
analogous
#7571F4 #B771F4 #F471F0
triadic
#B771F4 #F4B771 #71F4B7
tetradic
#B771F4 #F47571 #AEF471 #71F0F4
square
#B771F4 #F47571 #AEF471 #71F0F4
split-complementary
#B771F4 #F0F471 #71F475
monochromatic
#7C11DA #9A38F0 #B771F4 #D4AAF8 #F1E3FD

Accessibility & contrast

On white

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

On black

6.68
#B771F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B771F4
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B771F4#FFFFFF#000000##000000
##B771F41.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#468FF8
Deuteranopia (green-blind)
#5D92F1
Tritanopia (blue-blind)
#AD89A8
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b771f4;
/* rgb */ color: rgb(183, 113, 244);
/* oklch */ color: oklch(67.9% 0.194 306.6);
Tailwind
colors: {
  custom: {
    50: '#d09cf8',
    500: '#b771f4',
    950: '#000000',
  },
}
SCSS
$custom: #b771f4;
$custom-light: #d09cf8;
$custom-dark: #000000;
JSON
{
  "hex": "#b771f4",
  "rgb": {
    "r": 183,
    "g": 113,
    "b": 244
  },
  "hsl": {
    "h": 272.061,
    "s": 85.621,
    "l": 70
  },
  "oklch": {
    "l": 0.67899,
    "c": 0.19414,
    "h": 306.6
  },
  "luminance": 0.28409
}

Semantic roles & 50–950 ramp

primary
#B771F4
secondary
#DFF3CE
accent
#E2036B
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B771F4

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

Preview Lab → · Contrast checker → · Palette generator →

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