#BA76DF#BA76DF

#BA76DF is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.8% C 0.164 H 312.6°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#BA76DF
RGBrgb(186, 118, 223)
HSLhsl(279, 62%, 67%)
HSVhsv(279, 47%, 87%)
CMYKcmyk(16.6%, 47.1%, 0%, 12.5%)
CIE-LABlab(60.54, 44.93, -43.27)
CIE-LCHlch(60.54, 62.38, 316.08°)
OKLaboklab(67.83% 0.1108 -0.1204)
OKLCHoklch(67.83% 0.164 312.6)
XYZxyz(40.0451, 28.7246, 73.2326)
Luminance0.2872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA76DF #9BDF76
analogous
#8676DF #BA76DF #DF76D0
triadic
#BA76DF #DFBA76 #76DFBA
tetradic
#BA76DF #DF8676 #9BDF76 #76D0DF
square
#BA76DF #DF8676 #9BDF76 #76D0DF
split-complementary
#BA76DF #D0DF76 #76DF86
monochromatic
#8129B1 #A144D3 #BA76DF #D3A8EB #ECD9F6

Accessibility & contrast

On white

3.11
#BA76DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#BA76DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA76DF
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA76DF#FFFFFF#000000##000000
##BA76DF1.003.116.746.74
#FFFFFF3.111.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F8EE3
Deuteranopia (green-blind)
#7294DC
Tritanopia (blue-blind)
#B786A0
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ba76df;
/* rgb */ color: rgb(186, 118, 223);
/* oklch */ color: oklch(67.8% 0.164 312.6);
Tailwind
colors: {
  custom: {
    50: '#d19fe9',
    500: '#ba76df',
    950: '#000000',
  },
}
SCSS
$custom: #ba76df;
$custom-light: #d19fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba76df",
  "rgb": {
    "r": 186,
    "g": 118,
    "b": 223
  },
  "hsl": {
    "h": 278.857,
    "s": 62.13,
    "l": 66.863
  },
  "oklch": {
    "l": 0.67833,
    "c": 0.16362,
    "h": 312.6
  },
  "luminance": 0.28724
}

Semantic roles & 50–950 ramp

primary
#BA76DF
secondary
#D3E9C8
accent
#CA1C59
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140F16
muted
#837E84

Preview Lab

Preview with #BA76DF

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

Preview Lab → · Contrast checker → · Palette generator →

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