#BA94EE#BA94EE

#BA94EE is a light, vivid violet. Relative luminance 0.378; OKLCH L 73.6% C 0.132 H 302.7°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#BA94EE
RGBrgb(186, 148, 238)
HSLhsl(265, 73%, 76%)
HSVhsv(265, 38%, 93%)
CMYKcmyk(21.8%, 37.8%, 0%, 6.7%)
CIE-LABlab(67.87, 31.83, -40.08)
CIE-LCHlch(67.87, 51.18, 308.45°)
OKLaboklab(73.57% 0.0715 -0.1113)
OKLCHoklch(73.57% 0.132 302.7)
XYZxyz(46.2689, 37.7920, 85.7294)
Luminance0.3779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA94EE #C8EE94
analogous
#949BEE #BA94EE #E794EE
triadic
#BA94EE #EEBA94 #94EEBA
tetradic
#BA94EE #EE949B #C8EE94 #94EEE7
square
#BA94EE #EE949B #C8EE94 #94EEE7
split-complementary
#BA94EE #EEE794 #9BEE94
monochromatic
#762ADD #985FE6 #BA94EE #DCC9F6 #EEE5FB

Accessibility & contrast

On white

2.45
#BA94EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#BA94EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA94EE
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA94EE#FFFFFF#000000##000000
##BA94EE1.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA5F1
Deuteranopia (green-blind)
#86A5EC
Tritanopia (blue-blind)
#B1A2B6
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ba94ee;
/* rgb */ color: rgb(186, 148, 238);
/* oklch */ color: oklch(73.6% 0.132 302.7);
Tailwind
colors: {
  custom: {
    50: '#d0b4f4',
    500: '#ba94ee',
    950: '#000000',
  },
}
SCSS
$custom: #ba94ee;
$custom-light: #d0b4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba94ee",
  "rgb": {
    "r": 186,
    "g": 148,
    "b": 238
  },
  "hsl": {
    "h": 265.333,
    "s": 72.581,
    "l": 75.686
  },
  "oklch": {
    "l": 0.73568,
    "c": 0.1323,
    "h": 302.7
  },
  "luminance": 0.37792
}

Semantic roles & 50–950 ramp

primary
#BA94EE
secondary
#E8F2D9
accent
#D51182
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085

Preview Lab

Preview with #BA94EE

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

Preview Lab → · Contrast checker → · Palette generator →

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