#BA77ED#BA77ED

#BA77ED is a light, vivid violet. Relative luminance 0.297; OKLCH L 68.7% C 0.178 H 308.6°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#BA77ED
RGBrgb(186, 119, 237)
HSLhsl(274, 77%, 70%)
HSVhsv(274, 50%, 93%)
CMYKcmyk(21.5%, 49.8%, 0%, 7.1%)
CIE-LABlab(61.44, 47.45, -49.65)
CIE-LCHlch(61.44, 68.68, 313.71°)
OKLaboklab(68.73% 0.1111 -0.1389)
OKLCHoklch(68.73% 0.178 308.6)
XYZxyz(42.1296, 29.7478, 83.6268)
Luminance0.2975 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA77ED #AAED77
analogous
#7F77ED #BA77ED #ED77E5
triadic
#BA77ED #EDBA77 #77EDBA
tetradic
#BA77ED #ED7F77 #AAED77 #77E5ED
square
#BA77ED #ED7F77 #AAED77 #77E5ED
split-complementary
#BA77ED #E5ED77 #77ED7F
monochromatic
#811BCE #9F41E6 #BA77ED #D5ADF4 #F1E3FB

Accessibility & contrast

On white

3.02
#BA77ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#BA77ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA77ED
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA77ED#FFFFFF#000000##000000
##BA77ED1.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5792F1
Deuteranopia (green-blind)
#6B95EA
Tritanopia (blue-blind)
#B38BA7
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ba77ed;
/* rgb */ color: rgb(186, 119, 237);
/* oklch */ color: oklch(68.7% 0.178 308.6);
Tailwind
colors: {
  custom: {
    50: '#d1a0f3',
    500: '#ba77ed',
    950: '#000000',
  },
}
SCSS
$custom: #ba77ed;
$custom-light: #d1a0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba77ed",
  "rgb": {
    "r": 186,
    "g": 119,
    "b": 237
  },
  "hsl": {
    "h": 274.068,
    "s": 76.623,
    "l": 69.804
  },
  "oklch": {
    "l": 0.68725,
    "c": 0.17788,
    "h": 308.6
  },
  "luminance": 0.29747
}

Semantic roles & 50–950 ramp

primary
#BA77ED
secondary
#DEF1CF
accent
#D90D65
background
#FDFAFE
surface
#FAF3FD
border
#D3CDD5
text
#140F17
muted
#837F85

Preview Lab

Preview with #BA77ED

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

Preview Lab → · Contrast checker → · Palette generator →

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