#BA76ED#BA76ED

#BA76ED is a light, vivid violet. Relative luminance 0.295; OKLCH L 68.6% C 0.179 H 308.8°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#BA76ED
RGBrgb(186, 118, 237)
HSLhsl(274, 77%, 70%)
HSVhsv(274, 50%, 93%)
CMYKcmyk(21.5%, 50.2%, 0%, 7.1%)
CIE-LABlab(61.23, 47.98, -49.97)
CIE-LCHlch(61.23, 69.28, 313.84°)
OKLaboklab(68.57% 0.1124 -0.1399)
OKLCHoklch(68.57% 0.179 308.8)
XYZxyz(42.0112, 29.5110, 83.5874)
Luminance0.2951 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA76ED #A9ED76
analogous
#7F76ED #BA76ED #ED76E4
triadic
#BA76ED #EDBA76 #76EDBA
tetradic
#BA76ED #ED7F76 #A9ED76 #76E4ED
square
#BA76ED #ED7F76 #A9ED76 #76E4ED
split-complementary
#BA76ED #E4ED76 #76ED7F
monochromatic
#811BCE #9F40E6 #BA76ED #D5ACF4 #F0E2FB

Accessibility & contrast

On white

3.04
#BA76ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#BA76ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA76ED
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA76ED#FFFFFF#000000##000000
##BA76ED1.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5691F1
Deuteranopia (green-blind)
#6A95EA
Tritanopia (blue-blind)
#B38AA7
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ba76ed;
/* rgb */ color: rgb(186, 118, 237);
/* oklch */ color: oklch(68.6% 0.179 308.8);
Tailwind
colors: {
  custom: {
    50: '#d19ff3',
    500: '#ba76ed',
    950: '#000000',
  },
}
SCSS
$custom: #ba76ed;
$custom-light: #d19ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba76ed",
  "rgb": {
    "r": 186,
    "g": 118,
    "b": 237
  },
  "hsl": {
    "h": 274.286,
    "s": 76.774,
    "l": 69.608
  },
  "oklch": {
    "l": 0.68573,
    "c": 0.17945,
    "h": 308.8
  },
  "luminance": 0.2951
}

Semantic roles & 50–950 ramp

primary
#BA76ED
secondary
#DDF0CE
accent
#D90D64
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140F17
muted
#837E85

Preview Lab

Preview with #BA76ED

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

Preview Lab → · Contrast checker → · Palette generator →

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