#BA77EB#BA77EB

#BA77EB is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.6% C 0.176 H 309.2°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#BA77EB
RGBrgb(186, 119, 235)
HSLhsl(275, 74%, 69%)
HSVhsv(275, 49%, 92%)
CMYKcmyk(20.9%, 49.4%, 0%, 7.8%)
CIE-LABlab(61.34, 47.01, -48.70)
CIE-LCHlch(61.34, 67.69, 313.99°)
OKLaboklab(68.62% 0.1109 -0.1362)
OKLCHoklch(68.62% 0.176 309.2)
XYZxyz(41.8391, 29.6315, 82.0965)
Luminance0.2963 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA77EB #A8EB77
analogous
#8077EB #BA77EB #EB77E2
triadic
#BA77EB #EBBA77 #77EBBA
tetradic
#BA77EB #EB8077 #A8EB77 #77E2EB
square
#BA77EB #EB8077 #A8EB77 #77E2EB
split-complementary
#BA77EB #E2EB77 #77EB80
monochromatic
#811ECA #9F42E3 #BA77EB #D5ACF3 #F0E2FB

Accessibility & contrast

On white

3.03
#BA77EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#BA77EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA77EB
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA77EB#FFFFFF#000000##000000
##BA77EB1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5991EF
Deuteranopia (green-blind)
#6C95E8
Tritanopia (blue-blind)
#B48AA6
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ba77eb;
/* rgb */ color: rgb(186, 119, 235);
/* oklch */ color: oklch(68.6% 0.176 309.2);
Tailwind
colors: {
  custom: {
    50: '#d1a0f2',
    500: '#ba77eb',
    950: '#000000',
  },
}
SCSS
$custom: #ba77eb;
$custom-light: #d1a0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba77eb",
  "rgb": {
    "r": 186,
    "g": 119,
    "b": 235
  },
  "hsl": {
    "h": 274.655,
    "s": 74.359,
    "l": 69.412
  },
  "oklch": {
    "l": 0.68618,
    "c": 0.1756,
    "h": 309.2
  },
  "luminance": 0.29631
}

Semantic roles & 50–950 ramp

primary
#BA77EB
secondary
#DCF0CE
accent
#D60F63
background
#FDFAFE
surface
#FAF3FD
border
#D3CDD5
text
#140F17
muted
#837F85

Preview Lab

Preview with #BA77EB

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

Preview Lab → · Contrast checker → · Palette generator →

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