#BA77DD#BA77DD

#BA77DD is a light, vivid violet. Relative luminance 0.289; OKLCH L 67.9% C 0.160 H 313.1°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#BA77DD
RGBrgb(186, 119, 221)
HSLhsl(279, 60%, 67%)
HSVhsv(279, 46%, 87%)
CMYKcmyk(15.8%, 46.2%, 0%, 13.3%)
CIE-LABlab(60.65, 43.97, -41.97)
CIE-LCHlch(60.65, 60.78, 316.33°)
OKLaboklab(67.89% 0.1091 -0.1166)
OKLCHoklch(67.89% 0.16 313.1)
XYZxyz(39.8955, 28.8541, 71.8604)
Luminance0.2885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA77DD #9ADD77
analogous
#8777DD #BA77DD #DD77CD
triadic
#BA77DD #DDBA77 #77DDBA
tetradic
#BA77DD #DD8777 #9ADD77 #77CDDD
square
#BA77DD #DD8777 #9ADD77 #77CDDD
split-complementary
#BA77DD #CDDD77 #77DD87
monochromatic
#812CAE #A146D1 #BA77DD #D3A8E9 #ECD9F5

Accessibility & contrast

On white

3.10
#BA77DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#BA77DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA77DD
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA77DD#FFFFFF#000000##000000
##BA77DD1.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#618FE1
Deuteranopia (green-blind)
#7494DA
Tritanopia (blue-blind)
#B786A0
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ba77dd;
/* rgb */ color: rgb(186, 119, 221);
/* oklch */ color: oklch(67.9% 0.160 313.1);
Tailwind
colors: {
  custom: {
    50: '#d0a0e8',
    500: '#ba77dd',
    950: '#000000',
  },
}
SCSS
$custom: #ba77dd;
$custom-light: #d0a0e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba77dd",
  "rgb": {
    "r": 186,
    "g": 119,
    "b": 221
  },
  "hsl": {
    "h": 279.412,
    "s": 60,
    "l": 66.667
  },
  "oklch": {
    "l": 0.67887,
    "c": 0.15972,
    "h": 313.1
  },
  "luminance": 0.28853
}

Semantic roles & 50–950 ramp

primary
#BA77DD
secondary
#D3E8C7
accent
#C81E58
background
#FDF9FE
surface
#FAF2FC
border
#D3CCD5
text
#140F16
muted
#837E84

Preview Lab

Preview with #BA77DD

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

Preview Lab → · Contrast checker → · Palette generator →

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