#B771DA#B771DA

#B771DA is a light, vivid purple. Relative luminance 0.269; OKLCH L 66.5% C 0.165 H 313.5°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#B771DA
RGBrgb(183, 113, 218)
HSLhsl(280, 59%, 65%)
HSVhsv(280, 48%, 85%)
CMYKcmyk(16.1%, 48.2%, 0%, 14.5%)
CIE-LABlab(58.92, 45.69, -43.04)
CIE-LCHlch(58.92, 62.77, 316.71°)
OKLaboklab(66.47% 0.1135 -0.1198)
OKLCHoklch(66.47% 0.165 313.5)
XYZxyz(38.0863, 26.9404, 69.5098)
Luminance0.2694 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B771DA #94DA71
analogous
#8371DA #B771DA #DA71C8
triadic
#B771DA #DAB771 #71DAB7
tetradic
#B771DA #DA8371 #94DA71 #71C8DA
square
#B771DA #DA8371 #94DA71 #71C8DA
split-complementary
#B771DA #C8DA71 #71DA83
monochromatic
#7D2BA5 #9E40CD #B771DA #D0A2E7 #E8D2F3

Accessibility & contrast

On white

3.29
#B771DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#B771DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B771DA
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B771DA#FFFFFF#000000##000000
##B771DA1.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A8ADE
Deuteranopia (green-blind)
#6E90D7
Tritanopia (blue-blind)
#B4819B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b771da;
/* rgb */ color: rgb(183, 113, 218);
/* oklch */ color: oklch(66.5% 0.165 313.5);
Tailwind
colors: {
  custom: {
    50: '#cf9ce6',
    500: '#b771da',
    950: '#000000',
  },
}
SCSS
$custom: #b771da;
$custom-light: #cf9ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#b771da",
  "rgb": {
    "r": 183,
    "g": 113,
    "b": 218
  },
  "hsl": {
    "h": 280,
    "s": 58.659,
    "l": 64.902
  },
  "oklch": {
    "l": 0.66475,
    "c": 0.16498,
    "h": 313.5
  },
  "luminance": 0.26939
}

Semantic roles & 50–950 ramp

primary
#B771DA
secondary
#CDE5C1
accent
#C61F57
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B771DA

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

Preview Lab → · Contrast checker → · Palette generator →

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