#B771CE#B771CE

#B771CE is a light, vivid purple. Relative luminance 0.263; OKLCH L 65.9% C 0.152 H 317.4°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#B771CE
RGBrgb(183, 113, 206)
HSLhsl(285, 49%, 63%)
HSVhsv(285, 45%, 81%)
CMYKcmyk(11.2%, 45.1%, 0%, 19.2%)
CIE-LABlab(58.35, 43.18, -37.16)
CIE-LCHlch(58.35, 56.97, 319.29°)
OKLaboklab(65.87% 0.1117 -0.1028)
OKLCHoklch(65.87% 0.152 317.4)
XYZxyz(36.5726, 26.3349, 61.5372)
Luminance0.2633 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B771CE #88CE71
analogous
#8871CE #B771CE #CE71B7
triadic
#B771CE #CEB771 #71CEB7
tetradic
#B771CE #CE8871 #88CE71 #71B7CE
square
#B771CE #CE8871 #88CE71 #71B7CE
split-complementary
#B771CE #B7CE71 #71CE88
monochromatic
#7A3292 #A044BE #B771CE #CE9EDE #E5CCED

Accessibility & contrast

On white

3.35
#B771CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#B771CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B771CE
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B771CE#FFFFFF#000000##000000
##B771CE1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6188D1
Deuteranopia (green-blind)
#748FCB
Tritanopia (blue-blind)
#B77E96
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b771ce;
/* rgb */ color: rgb(183, 113, 206);
/* oklch */ color: oklch(65.9% 0.152 317.4);
Tailwind
colors: {
  custom: {
    50: '#ce9bdd',
    500: '#b771ce',
    950: '#000000',
  },
}
SCSS
$custom: #b771ce;
$custom-light: #ce9bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#b771ce",
  "rgb": {
    "r": 183,
    "g": 113,
    "b": 206
  },
  "hsl": {
    "h": 285.161,
    "s": 48.691,
    "l": 62.549
  },
  "oklch": {
    "l": 0.65869,
    "c": 0.15179,
    "h": 317.4
  },
  "luminance": 0.26334
}

Semantic roles & 50–950 ramp

primary
#B771CE
secondary
#C5DEBC
accent
#BC2A4E
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140E15
muted
#827E83

Preview Lab

Preview with #B771CE

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

Preview Lab → · Contrast checker → · Palette generator →

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