#B771CB#B771CB

#B771CB is a light, vivid purple. Relative luminance 0.262; OKLCH L 65.7% C 0.149 H 318.5°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#B771CB
RGBrgb(183, 113, 203)
HSLhsl(287, 46%, 62%)
HSVhsv(287, 44%, 80%)
CMYKcmyk(9.9%, 44.3%, 0%, 20.4%)
CIE-LABlab(58.22, 42.57, -35.68)
CIE-LCHlch(58.22, 55.54, 320.03°)
OKLaboklab(65.72% 0.1112 -0.0985)
OKLCHoklch(65.72% 0.149 318.5)
XYZxyz(36.2116, 26.1905, 59.6361)
Luminance0.2619 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B771CB #85CB71
analogous
#8A71CB #B771CB #CB71B2
triadic
#B771CB #CBB771 #71CBB7
tetradic
#B771CB #CB8A71 #85CB71 #71B2CB
square
#B771CB #CB8A71 #85CB71 #71B2CB
split-complementary
#B771CB #B2CB71 #71CB8A
monochromatic
#7A348E #A044BB #B771CB #CE9EDB #E4CBEC

Accessibility & contrast

On white

3.37
#B771CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#B771CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B771CB
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B771CB#FFFFFF#000000##000000
##B771CB1.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6387CE
Deuteranopia (green-blind)
#768EC8
Tritanopia (blue-blind)
#B77D94
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b771cb;
/* rgb */ color: rgb(183, 113, 203);
/* oklch */ color: oklch(65.7% 0.149 318.5);
Tailwind
colors: {
  custom: {
    50: '#ce9bdb',
    500: '#b771cb',
    950: '#000000',
  },
}
SCSS
$custom: #b771cb;
$custom-light: #ce9bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#b771cb",
  "rgb": {
    "r": 183,
    "g": 113,
    "b": 203
  },
  "hsl": {
    "h": 286.667,
    "s": 46.392,
    "l": 61.961
  },
  "oklch": {
    "l": 0.65723,
    "c": 0.14854,
    "h": 318.5
  },
  "luminance": 0.26189
}

Semantic roles & 50–950 ramp

primary
#B771CB
secondary
#C3DCBB
accent
#BA2C4B
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140E15
muted
#827E83

Preview Lab

Preview with #B771CB

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

Preview Lab → · Contrast checker → · Palette generator →

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