#B771DB#B771DB

#B771DB is a light, vivid violet. Relative luminance 0.270; OKLCH L 66.5% C 0.166 H 313.2°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#B771DB
RGBrgb(183, 113, 219)
HSLhsl(280, 60%, 65%)
HSVhsv(280, 48%, 86%)
CMYKcmyk(16.4%, 48.4%, 0%, 14.1%)
CIE-LABlab(58.97, 45.91, -43.52)
CIE-LCHlch(58.97, 63.26, 316.53°)
OKLaboklab(66.53% 0.1136 -0.1212)
OKLCHoklch(66.53% 0.166 313.2)
XYZxyz(38.2176, 26.9929, 70.2010)
Luminance0.2699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B771DB #95DB71
analogous
#8271DB #B771DB #DB71CA
triadic
#B771DB #DBB771 #71DBB7
tetradic
#B771DB #DB8271 #95DB71 #71CADB
square
#B771DB #DB8271 #95DB71 #71CADB
split-complementary
#B771DB #CADB71 #71DB82
monochromatic
#7D2AA7 #9E40CF #B771DB #D0A2E7 #E9D3F4

Accessibility & contrast

On white

3.28
#B771DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#B771DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B771DB
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B771DB#FFFFFF#000000##000000
##B771DB1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#598ADF
Deuteranopia (green-blind)
#6E90D8
Tritanopia (blue-blind)
#B4819C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b771db;
/* rgb */ color: rgb(183, 113, 219);
/* oklch */ color: oklch(66.5% 0.166 313.2);
Tailwind
colors: {
  custom: {
    50: '#cf9ce6',
    500: '#b771db',
    950: '#000000',
  },
}
SCSS
$custom: #b771db;
$custom-light: #cf9ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#b771db",
  "rgb": {
    "r": 183,
    "g": 113,
    "b": 219
  },
  "hsl": {
    "h": 279.623,
    "s": 59.551,
    "l": 65.098
  },
  "oklch": {
    "l": 0.66527,
    "c": 0.16609,
    "h": 313.2
  },
  "luminance": 0.26992
}

Semantic roles & 50–950 ramp

primary
#B771DB
secondary
#CEE6C2
accent
#C71E58
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B771DB

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

Preview Lab → · Contrast checker → · Palette generator →

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