#BA77EF#BA77EF

#BA77EF is a light, vivid violet. Relative luminance 0.299; OKLCH L 68.8% C 0.180 H 308.1°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#BA77EF
RGBrgb(186, 119, 239)
HSLhsl(274, 79%, 70%)
HSVhsv(274, 50%, 94%)
CMYKcmyk(22.2%, 50.2%, 0%, 6.3%)
CIE-LABlab(61.54, 47.90, -50.59)
CIE-LCHlch(61.54, 69.67, 313.43°)
OKLaboklab(68.83% 0.1113 -0.1417)
OKLCHoklch(68.83% 0.18 308.1)
XYZxyz(42.4234, 29.8653, 85.1743)
Luminance0.2987 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA77EF #ACEF77
analogous
#7E77EF #BA77EF #EF77E8
triadic
#BA77EF #EFBA77 #77EFBA
tetradic
#BA77EF #EF7E77 #ACEF77 #77E8EF
square
#BA77EF #EF7E77 #ACEF77 #77E8EF
split-complementary
#BA77EF #E8EF77 #77EF7E
monochromatic
#8119D3 #9E40E9 #BA77EF #D6AEF5 #F1E4FC

Accessibility & contrast

On white

3.01
#BA77EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#BA77EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA77EF
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA77EF#FFFFFF#000000##000000
##BA77EF1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5692F3
Deuteranopia (green-blind)
#6995EC
Tritanopia (blue-blind)
#B38CA8
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ba77ef;
/* rgb */ color: rgb(186, 119, 239);
/* oklch */ color: oklch(68.8% 0.180 308.1);
Tailwind
colors: {
  custom: {
    50: '#d1a0f5',
    500: '#ba77ef',
    950: '#000000',
  },
}
SCSS
$custom: #ba77ef;
$custom-light: #d1a0f5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba77ef",
  "rgb": {
    "r": 186,
    "g": 119,
    "b": 239
  },
  "hsl": {
    "h": 273.5,
    "s": 78.947,
    "l": 70.196
  },
  "oklch": {
    "l": 0.68834,
    "c": 0.18016,
    "h": 308.1
  },
  "luminance": 0.29865
}

Semantic roles & 50–950 ramp

primary
#BA77EF
secondary
#DFF2D0
accent
#DB0A67
background
#FDFAFF
surface
#FAF3FE
border
#D3CDD6
text
#140F17
muted
#837F85

Preview Lab

Preview with #BA77EF

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

Preview Lab → · Contrast checker → · Palette generator →

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