#B771FA#B771FA

#B771FA is a light, highly saturated violet. Relative luminance 0.288; OKLCH L 68.2% C 0.201 H 305.3°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#B771FA
RGBrgb(183, 113, 250)
HSLhsl(271, 93%, 71%)
HSVhsv(271, 55%, 98%)
CMYKcmyk(26.8%, 54.8%, 0%, 2%)
CIE-LABlab(60.59, 52.78, -58.21)
CIE-LCHlch(60.59, 78.58, 312.20°)
OKLaboklab(68.25% 0.1161 -0.164)
OKLCHoklch(68.25% 0.201 305.3)
XYZxyz(42.6852, 28.7799, 93.7303)
Luminance0.2878 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B771FA #B4FA71
analogous
#7271FA #B771FA #FA71F8
triadic
#B771FA #FAB771 #71FAB7
tetradic
#B771FA #FA7271 #B4FA71 #71F8FA
square
#B771FA #FA7271 #B4FA71 #71F8FA
split-complementary
#B771FA #F8FA71 #71FA72
monochromatic
#7B08E8 #9936F8 #B771FA #D5ACFC #F0E1FE

Accessibility & contrast

On white

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

On black

6.76
#B771FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B771FA
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B771FA#FFFFFF#000000##000000
##B771FA1.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F90FF
Deuteranopia (green-blind)
#5892F7
Tritanopia (blue-blind)
#AC8BAB
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b771fa;
/* rgb */ color: rgb(183, 113, 250);
/* oklch */ color: oklch(68.2% 0.201 305.3);
Tailwind
colors: {
  custom: {
    50: '#d09cfd',
    500: '#b771fa',
    950: '#000000',
  },
}
SCSS
$custom: #b771fa;
$custom-light: #d09cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#b771fa",
  "rgb": {
    "r": 183,
    "g": 113,
    "b": 250
  },
  "hsl": {
    "h": 270.657,
    "s": 93.197,
    "l": 71.176
  },
  "oklch": {
    "l": 0.68249,
    "c": 0.20091,
    "h": 305.3
  },
  "luminance": 0.2878
}

Semantic roles & 50–950 ramp

primary
#B771FA
secondary
#E3F5D1
accent
#E60070
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B771FA

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

Preview Lab → · Contrast checker → · Palette generator →

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