#B771CA#B771CA

#B771CA is a light, vivid purple. Relative luminance 0.261; OKLCH L 65.7% C 0.147 H 318.8°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#B771CA
RGBrgb(183, 113, 202)
HSLhsl(287, 46%, 62%)
HSVhsv(287, 44%, 79%)
CMYKcmyk(9.4%, 44.1%, 0%, 20.8%)
CIE-LABlab(58.17, 42.36, -35.18)
CIE-LCHlch(58.17, 55.07, 320.29°)
OKLaboklab(65.67% 0.111 -0.0971)
OKLCHoklch(65.67% 0.147 318.8)
XYZxyz(36.0928, 26.1430, 59.0105)
Luminance0.2614 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B771CA #84CA71
analogous
#8B71CA #B771CA #CA71B1
triadic
#B771CA #CAB771 #71CAB7
tetradic
#B771CA #CA8B71 #84CA71 #71B1CA
square
#B771CA #CA8B71 #84CA71 #71B1CA
split-complementary
#B771CA #B1CA71 #71CA8B
monochromatic
#79348C #A045B9 #B771CA #CE9EDB #E4CAEB

Accessibility & contrast

On white

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

On black

6.23
#B771CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B771CA
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B771CA#FFFFFF#000000##000000
##B771CA1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b771ca;
/* rgb */ color: rgb(183, 113, 202);
/* oklch */ color: oklch(65.7% 0.147 318.8);
Tailwind
colors: {
  custom: {
    50: '#ce9bda',
    500: '#b771ca',
    950: '#000000',
  },
}
SCSS
$custom: #b771ca;
$custom-light: #ce9bda;
$custom-dark: #000000;
JSON
{
  "hex": "#b771ca",
  "rgb": {
    "r": 183,
    "g": 113,
    "b": 202
  },
  "hsl": {
    "h": 287.191,
    "s": 45.641,
    "l": 61.765
  },
  "oklch": {
    "l": 0.65674,
    "c": 0.14747,
    "h": 318.8
  },
  "luminance": 0.26142
}

Semantic roles & 50–950 ramp

primary
#B771CA
secondary
#C2DCBB
accent
#B92D4B
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140E15
muted
#827E83

Preview Lab

Preview with #B771CA

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

Preview Lab → · Contrast checker → · Palette generator →

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