#BA91EE#BA91EE

#BA91EE is a light, vivid violet. Relative luminance 0.369; OKLCH L 73.0% C 0.137 H 303.5°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#BA91EE
RGBrgb(186, 145, 238)
HSLhsl(266, 73%, 75%)
HSVhsv(266, 39%, 93%)
CMYKcmyk(21.8%, 39.1%, 0%, 6.7%)
CIE-LABlab(67.17, 33.50, -41.17)
CIE-LCHlch(67.17, 53.07, 309.14°)
OKLaboklab(73.04% 0.0757 -0.1144)
OKLCHoklch(73.04% 0.137 303.5)
XYZxyz(45.8045, 36.8630, 85.5745)
Luminance0.3686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA91EE #C5EE91
analogous
#9196EE #BA91EE #E991EE
triadic
#BA91EE #EEBA91 #91EEBA
tetradic
#BA91EE #EE9196 #C5EE91 #91EEE9
square
#BA91EE #EE9196 #C5EE91 #91EEE9
split-complementary
#BA91EE #EEE991 #96EE91
monochromatic
#7827DE #995CE6 #BA91EE #DBC6F6 #EEE4FB

Accessibility & contrast

On white

2.51
#BA91EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#BA91EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA91EE
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA91EE#FFFFFF#000000##000000
##BA91EE1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA2F2
Deuteranopia (green-blind)
#84A3EB
Tritanopia (blue-blind)
#B1A0B4
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ba91ee;
/* rgb */ color: rgb(186, 145, 238);
/* oklch */ color: oklch(73.0% 0.137 303.5);
Tailwind
colors: {
  custom: {
    50: '#d0b1f4',
    500: '#ba91ee',
    950: '#000000',
  },
}
SCSS
$custom: #ba91ee;
$custom-light: #d0b1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba91ee",
  "rgb": {
    "r": 186,
    "g": 145,
    "b": 238
  },
  "hsl": {
    "h": 266.452,
    "s": 73.228,
    "l": 75.098
  },
  "oklch": {
    "l": 0.73043,
    "c": 0.13719,
    "h": 303.5
  },
  "luminance": 0.36863
}

Semantic roles & 50–950 ramp

primary
#BA91EE
secondary
#E7F3D8
accent
#D5107E
background
#FCFAFE
surface
#F9F5FD
border
#D2CFD5
text
#141117
muted
#828085

Preview Lab

Preview with #BA91EE

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

Preview Lab → · Contrast checker → · Palette generator →

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