#BA76F0#BA76F0

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

Color values

HEX#BA76F0
RGBrgb(186, 118, 240)
HSLhsl(273, 80%, 70%)
HSVhsv(273, 51%, 94%)
CMYKcmyk(22.5%, 50.8%, 0%, 5.9%)
CIE-LABlab(61.38, 48.65, -51.39)
CIE-LCHlch(61.38, 70.77, 313.43°)
OKLaboklab(68.74% 0.1127 -0.144)
OKLCHoklch(68.74% 0.183 308)
XYZxyz(42.4532, 29.6878, 85.9150)
Luminance0.2969 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA76F0 #ACF076
analogous
#7D76F0 #BA76F0 #F076E9
triadic
#BA76F0 #F0BA76 #76F0BA
tetradic
#BA76F0 #F07D76 #ACF076 #76E9F0
square
#BA76F0 #F07D76 #ACF076 #76E9F0
split-complementary
#BA76F0 #E9F076 #76F07D
monochromatic
#8117D4 #9E3FEA #BA76F0 #D6ADF6 #F1E3FC

Accessibility & contrast

On white

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

On black

6.94
#BA76F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA76F0
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA76F0#FFFFFF#000000##000000
##BA76F01.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5391F4
Deuteranopia (green-blind)
#6895ED
Tritanopia (blue-blind)
#B28BA8
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ba76f0;
/* rgb */ color: rgb(186, 118, 240);
/* oklch */ color: oklch(68.7% 0.183 308.0);
Tailwind
colors: {
  custom: {
    50: '#d19ff5',
    500: '#ba76f0',
    950: '#000000',
  },
}
SCSS
$custom: #ba76f0;
$custom-light: #d19ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba76f0",
  "rgb": {
    "r": 186,
    "g": 118,
    "b": 240
  },
  "hsl": {
    "h": 273.443,
    "s": 80.263,
    "l": 70.196
  },
  "oklch": {
    "l": 0.68737,
    "c": 0.18286,
    "h": 308
  },
  "luminance": 0.29687
}

Semantic roles & 50–950 ramp

primary
#BA76F0
secondary
#DFF2D0
accent
#DD0967
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#140F17
muted
#837E85

Preview Lab

Preview with #BA76F0

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

Preview Lab → · Contrast checker → · Palette generator →

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