#B771FB#B771FB

#B771FB is a light, highly saturated violet. Relative luminance 0.288; OKLCH L 68.3% C 0.202 H 305.1°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#B771FB
RGBrgb(183, 113, 251)
HSLhsl(270, 95%, 71%)
HSVhsv(270, 55%, 98%)
CMYKcmyk(27.1%, 55%, 0%, 1.6%)
CIE-LABlab(60.64, 53.01, -58.67)
CIE-LCHlch(60.64, 79.07, 312.10°)
OKLaboklab(68.31% 0.1161 -0.1653)
OKLCHoklch(68.31% 0.202 305.1)
XYZxyz(42.8424, 28.8428, 94.5583)
Luminance0.2884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B771FB #B5FB71
analogous
#7271FB #B771FB #FB71FA
triadic
#B771FB #FBB771 #71FBB7
tetradic
#B771FB #FB7271 #B5FB71 #71FAFB
square
#B771FB #FB7271 #B5FB71 #71FAFB
split-complementary
#B771FB #FAFB71 #71FB72
monochromatic
#7A07EB #9935F9 #B771FB #D5ADFD #F0E1FE

Accessibility & contrast

On white

3.10
#B771FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#B771FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B771FB
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B771FB#FFFFFF#000000##000000
##B771FB1.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E90FF
Deuteranopia (green-blind)
#5792F8
Tritanopia (blue-blind)
#AB8BAB
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b771fb;
/* rgb */ color: rgb(183, 113, 251);
/* oklch */ color: oklch(68.3% 0.202 305.1);
Tailwind
colors: {
  custom: {
    50: '#d09cfd',
    500: '#b771fb',
    950: '#000000',
  },
}
SCSS
$custom: #b771fb;
$custom-light: #d09cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#b771fb",
  "rgb": {
    "r": 183,
    "g": 113,
    "b": 251
  },
  "hsl": {
    "h": 270.435,
    "s": 94.521,
    "l": 71.373
  },
  "oklch": {
    "l": 0.68308,
    "c": 0.20203,
    "h": 305.1
  },
  "luminance": 0.28843
}

Semantic roles & 50–950 ramp

primary
#B771FB
secondary
#E4F6D2
accent
#E60071
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B771FB

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

Preview Lab → · Contrast checker → · Palette generator →

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