#B771CD#B771CD

#B771CD is a light, vivid purple. Relative luminance 0.263; OKLCH L 65.8% C 0.151 H 317.7°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#B771CD
RGBrgb(183, 113, 205)
HSLhsl(286, 48%, 62%)
HSVhsv(286, 45%, 80%)
CMYKcmyk(10.7%, 44.9%, 0%, 19.6%)
CIE-LABlab(58.31, 42.98, -36.67)
CIE-LCHlch(58.31, 56.49, 319.53°)
OKLaboklab(65.82% 0.1115 -0.1013)
OKLCHoklch(65.82% 0.151 317.7)
XYZxyz(36.4515, 26.2864, 60.8994)
Luminance0.2628 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B771CD #87CD71
analogous
#8971CD #B771CD #CD71B5
triadic
#B771CD #CDB771 #71CDB7
tetradic
#B771CD #CD8971 #87CD71 #71B5CD
square
#B771CD #CD8971 #87CD71 #71B5CD
split-complementary
#B771CD #B5CD71 #71CD89
monochromatic
#7A3391 #A044BD #B771CD #CE9EDD #E5CCED

Accessibility & contrast

On white

3.36
#B771CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#B771CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B771CD
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B771CD#FFFFFF#000000##000000
##B771CD1.003.366.266.26
#FFFFFF3.361.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6288D0
Deuteranopia (green-blind)
#758FCA
Tritanopia (blue-blind)
#B77D95
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b771cd;
/* rgb */ color: rgb(183, 113, 205);
/* oklch */ color: oklch(65.8% 0.151 317.7);
Tailwind
colors: {
  custom: {
    50: '#ce9bdc',
    500: '#b771cd',
    950: '#000000',
  },
}
SCSS
$custom: #b771cd;
$custom-light: #ce9bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#b771cd",
  "rgb": {
    "r": 183,
    "g": 113,
    "b": 205
  },
  "hsl": {
    "h": 285.652,
    "s": 47.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.6582,
    "c": 0.15071,
    "h": 317.7
  },
  "luminance": 0.26285
}

Semantic roles & 50–950 ramp

primary
#B771CD
secondary
#C4DEBC
accent
#BB2A4D
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140E15
muted
#827E83

Preview Lab

Preview with #B771CD

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

Preview Lab → · Contrast checker → · Palette generator →

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