#BA94EB#BA94EB

#BA94EB is a light, vivid violet. Relative luminance 0.376; OKLCH L 73.4% C 0.128 H 303.5°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#BA94EB
RGBrgb(186, 148, 235)
HSLhsl(266, 69%, 75%)
HSVhsv(266, 37%, 92%)
CMYKcmyk(20.9%, 37%, 0%, 7.8%)
CIE-LABlab(67.74, 31.15, -38.64)
CIE-LCHlch(67.74, 49.63, 308.87°)
OKLaboklab(73.43% 0.0709 -0.1071)
OKLCHoklch(73.43% 0.128 303.5)
XYZxyz(45.8319, 37.6172, 83.4275)
Luminance0.3762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA94EB #C5EB94
analogous
#9499EB #BA94EB #E694EB
triadic
#BA94EB #EBBA94 #94EBBA
tetradic
#BA94EB #EB9499 #C5EB94 #94EBE6
square
#BA94EB #EB9499 #C5EB94 #94EBE6
split-complementary
#BA94EB #EBE694 #99EB94
monochromatic
#772DD8 #9960E1 #BA94EB #DBC8F5 #EEE5FA

Accessibility & contrast

On white

2.46
#BA94EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#BA94EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA94EB
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA94EB#FFFFFF#000000##000000
##BA94EB1.002.468.528.52
#FFFFFF2.461.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A4EE
Deuteranopia (green-blind)
#88A5E9
Tritanopia (blue-blind)
#B2A2B5
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ba94eb;
/* rgb */ color: rgb(186, 148, 235);
/* oklch */ color: oklch(73.4% 0.128 303.5);
Tailwind
colors: {
  custom: {
    50: '#d0b4f1',
    500: '#ba94eb',
    950: '#000000',
  },
}
SCSS
$custom: #ba94eb;
$custom-light: #d0b4f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba94eb",
  "rgb": {
    "r": 186,
    "g": 148,
    "b": 235
  },
  "hsl": {
    "h": 266.207,
    "s": 68.504,
    "l": 75.098
  },
  "oklch": {
    "l": 0.73427,
    "c": 0.12847,
    "h": 303.5
  },
  "luminance": 0.37617
}

Semantic roles & 50–950 ramp

primary
#BA94EB
secondary
#E7F2D9
accent
#D0157F
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085

Preview Lab

Preview with #BA94EB

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

Preview Lab → · Contrast checker → · Palette generator →

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