#BA94EA#BA94EA

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

Color values

HEX#BA94EA
RGBrgb(186, 148, 234)
HSLhsl(267, 67%, 75%)
HSVhsv(267, 37%, 92%)
CMYKcmyk(20.5%, 36.8%, 0%, 8.2%)
CIE-LABlab(67.69, 30.92, -38.15)
CIE-LCHlch(67.69, 49.11, 309.02°)
OKLaboklab(73.38% 0.0707 -0.1058)
OKLCHoklch(73.38% 0.127 303.7)
XYZxyz(45.6878, 37.5595, 82.6687)
Luminance0.3756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA94EA #C4EA94
analogous
#9499EA #BA94EA #E594EA
triadic
#BA94EA #EABA94 #94EABA
tetradic
#BA94EA #EA9499 #C4EA94 #94EAE5
square
#BA94EA #EA9499 #C4EA94 #94EAE5
split-complementary
#BA94EA #EAE594 #99EA94
monochromatic
#782ED6 #9961E0 #BA94EA #DBC7F4 #EFE5FA

Accessibility & contrast

On white

2.47
#BA94EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#BA94EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA94EA
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA94EA#FFFFFF#000000##000000
##BA94EA1.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A4ED
Deuteranopia (green-blind)
#88A5E8
Tritanopia (blue-blind)
#B2A1B4
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ba94ea;
/* rgb */ color: rgb(186, 148, 234);
/* oklch */ color: oklch(73.4% 0.127 303.7);
Tailwind
colors: {
  custom: {
    50: '#d0b4f1',
    500: '#ba94ea',
    950: '#000000',
  },
}
SCSS
$custom: #ba94ea;
$custom-light: #d0b4f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba94ea",
  "rgb": {
    "r": 186,
    "g": 148,
    "b": 234
  },
  "hsl": {
    "h": 266.512,
    "s": 67.187,
    "l": 74.902
  },
  "oklch": {
    "l": 0.73381,
    "c": 0.12719,
    "h": 303.7
  },
  "luminance": 0.37559
}

Semantic roles & 50–950 ramp

primary
#BA94EA
secondary
#E7F1DA
accent
#CF167D
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #BA94EA

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

Preview Lab → · Contrast checker → · Palette generator →

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