#B771EA#B771EA

#B771EA is a light, vivid violet. Relative luminance 0.278; OKLCH L 67.3% C 0.183 H 309.0°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#B771EA
RGBrgb(183, 113, 234)
HSLhsl(275, 74%, 68%)
HSVhsv(275, 52%, 92%)
CMYKcmyk(21.8%, 51.7%, 0%, 8.2%)
CIE-LABlab(59.72, 49.17, -50.71)
CIE-LCHlch(59.72, 70.64, 314.12°)
OKLaboklab(67.33% 0.1151 -0.1421)
OKLCHoklch(67.33% 0.183 309)
XYZxyz(40.2820, 27.8187, 81.0734)
Luminance0.2782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B771EA #A4EA71
analogous
#7A71EA #B771EA #EA71E0
triadic
#B771EA #EAB771 #71EAB7
tetradic
#B771EA #EA7A71 #A4EA71 #71E0EA
square
#B771EA #EA7A71 #A4EA71 #71E0EA
split-complementary
#B771EA #E0EA71 #71EA7A
monochromatic
#7D1DC4 #9C3CE2 #B771EA #D2A6F2 #EDDCFA

Accessibility & contrast

On white

3.20
#B771EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#B771EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B771EA
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B771EA#FFFFFF#000000##000000
##B771EA1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8DEE
Deuteranopia (green-blind)
#6491E7
Tritanopia (blue-blind)
#B086A3
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b771ea;
/* rgb */ color: rgb(183, 113, 234);
/* oklch */ color: oklch(67.3% 0.183 309.0);
Tailwind
colors: {
  custom: {
    50: '#cf9cf1',
    500: '#b771ea',
    950: '#000000',
  },
}
SCSS
$custom: #b771ea;
$custom-light: #cf9cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#b771ea",
  "rgb": {
    "r": 183,
    "g": 113,
    "b": 234
  },
  "hsl": {
    "h": 274.711,
    "s": 74.233,
    "l": 68.039
  },
  "oklch": {
    "l": 0.67334,
    "c": 0.18288,
    "h": 309
  },
  "luminance": 0.27818
}

Semantic roles & 50–950 ramp

primary
#B771EA
secondary
#D8EEC9
accent
#D60F63
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #B771EA

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

Preview Lab → · Contrast checker → · Palette generator →

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