#B771EF#B771EF

#B771EF is a light, vivid violet. Relative luminance 0.281; OKLCH L 67.6% C 0.189 H 307.8°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#B771EF
RGBrgb(183, 113, 239)
HSLhsl(273, 80%, 69%)
HSVhsv(273, 53%, 94%)
CMYKcmyk(23.4%, 52.7%, 0%, 6.3%)
CIE-LABlab(59.99, 50.29, -53.08)
CIE-LCHlch(59.99, 73.12, 313.46°)
OKLaboklab(67.61% 0.1155 -0.149)
OKLCHoklch(67.61% 0.189 307.8)
XYZxyz(41.0104, 28.1100, 84.9099)
Luminance0.2811 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B771EF #A9EF71
analogous
#7871EF #B771EF #EF71E8
triadic
#B771EF #EFB771 #71EFB7
tetradic
#B771EF #EF7871 #A9EF71 #71E8EF
square
#B771EF #EF7871 #A9EF71 #71E8EF
split-complementary
#B771EF #E8EF71 #71EF78
monochromatic
#7D17CE #9B3AE9 #B771EF #D3A8F5 #EFDFFB

Accessibility & contrast

On white

3.17
#B771EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#B771EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B771EF
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B771EF#FFFFFF#000000##000000
##B771EF1.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8EF3
Deuteranopia (green-blind)
#6191EC
Tritanopia (blue-blind)
#AF87A5
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b771ef;
/* rgb */ color: rgb(183, 113, 239);
/* oklch */ color: oklch(67.6% 0.189 307.8);
Tailwind
colors: {
  custom: {
    50: '#cf9cf5',
    500: '#b771ef',
    950: '#000000',
  },
}
SCSS
$custom: #b771ef;
$custom-light: #cf9cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#b771ef",
  "rgb": {
    "r": 183,
    "g": 113,
    "b": 239
  },
  "hsl": {
    "h": 273.333,
    "s": 79.747,
    "l": 69.02
  },
  "oklch": {
    "l": 0.67614,
    "c": 0.1885,
    "h": 307.8
  },
  "luminance": 0.2811
}

Semantic roles & 50–950 ramp

primary
#B771EF
secondary
#DCF0CB
accent
#DC0967
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#140E17
muted
#837E85

Preview Lab

Preview with #B771EF

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

Preview Lab → · Contrast checker → · Palette generator →

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