#B771EC#B771EC

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

Color values

HEX#B771EC
RGBrgb(183, 113, 236)
HSLhsl(274, 76%, 68%)
HSVhsv(274, 52%, 93%)
CMYKcmyk(22.5%, 52.1%, 0%, 7.5%)
CIE-LABlab(59.83, 49.62, -51.66)
CIE-LCHlch(59.83, 71.63, 313.84°)
OKLaboklab(67.44% 0.1153 -0.1448)
OKLCHoklch(67.44% 0.185 308.5)
XYZxyz(40.5709, 27.9342, 82.5952)
Luminance0.2793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B771EC #A6EC71
analogous
#7971EC #B771EC #EC71E4
triadic
#B771EC #ECB771 #71ECB7
tetradic
#B771EC #EC7971 #A6EC71 #71E4EC
square
#B771EC #EC7971 #A6EC71 #71E4EC
split-complementary
#B771EC #E4EC71 #71EC79
monochromatic
#7D1BC8 #9C3BE5 #B771EC #D2A7F3 #EEDDFA

Accessibility & contrast

On white

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

On black

6.59
#B771EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B771EC
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B771EC#FFFFFF#000000##000000
##B771EC1.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8DF0
Deuteranopia (green-blind)
#6391E9
Tritanopia (blue-blind)
#B087A4
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b771ec;
/* rgb */ color: rgb(183, 113, 236);
/* oklch */ color: oklch(67.4% 0.185 308.5);
Tailwind
colors: {
  custom: {
    50: '#cf9cf3',
    500: '#b771ec',
    950: '#000000',
  },
}
SCSS
$custom: #b771ec;
$custom-light: #cf9cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#b771ec",
  "rgb": {
    "r": 183,
    "g": 113,
    "b": 236
  },
  "hsl": {
    "h": 274.146,
    "s": 76.398,
    "l": 68.431
  },
  "oklch": {
    "l": 0.67445,
    "c": 0.18512,
    "h": 308.5
  },
  "luminance": 0.27934
}

Semantic roles & 50–950 ramp

primary
#B771EC
secondary
#DAEFCA
accent
#D90D65
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #B771EC

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

Preview Lab → · Contrast checker → · Palette generator →

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