#B771EB#B771EB

#B771EB is a light, vivid violet. Relative luminance 0.279; OKLCH L 67.4% C 0.184 H 308.8°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#B771EB
RGBrgb(183, 113, 235)
HSLhsl(274, 75%, 68%)
HSVhsv(274, 52%, 92%)
CMYKcmyk(22.1%, 51.9%, 0%, 7.8%)
CIE-LABlab(59.78, 49.40, -51.19)
CIE-LCHlch(59.78, 71.13, 313.98°)
OKLaboklab(67.39% 0.1152 -0.1435)
OKLCHoklch(67.39% 0.184 308.8)
XYZxyz(40.4260, 27.8763, 81.8322)
Luminance0.2788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B771EB #A5EB71
analogous
#7A71EB #B771EB #EB71E2
triadic
#B771EB #EBB771 #71EBB7
tetradic
#B771EB #EB7A71 #A5EB71 #71E2EB
square
#B771EB #EB7A71 #A5EB71 #71E2EB
split-complementary
#B771EB #E2EB71 #71EB7A
monochromatic
#7D1CC6 #9C3BE3 #B771EB #D2A7F3 #EDDCFA

Accessibility & contrast

On white

3.19
#B771EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#B771EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B771EB
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B771EB#FFFFFF#000000##000000
##B771EB1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8DEF
Deuteranopia (green-blind)
#6491E8
Tritanopia (blue-blind)
#B086A4
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b771eb;
/* rgb */ color: rgb(183, 113, 235);
/* oklch */ color: oklch(67.4% 0.184 308.8);
Tailwind
colors: {
  custom: {
    50: '#cf9cf2',
    500: '#b771eb',
    950: '#000000',
  },
}
SCSS
$custom: #b771eb;
$custom-light: #cf9cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#b771eb",
  "rgb": {
    "r": 183,
    "g": 113,
    "b": 235
  },
  "hsl": {
    "h": 274.426,
    "s": 75.309,
    "l": 68.235
  },
  "oklch": {
    "l": 0.6739,
    "c": 0.184,
    "h": 308.8
  },
  "luminance": 0.27876
}

Semantic roles & 50–950 ramp

primary
#B771EB
secondary
#D9EEC9
accent
#D70E64
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #B771EB

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

Preview Lab → · Contrast checker → · Palette generator →

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