#BA91EA#BA91EA

#BA91EA is a light, vivid violet. Relative luminance 0.366; OKLCH L 72.9% C 0.132 H 304.5°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#BA91EA
RGBrgb(186, 145, 234)
HSLhsl(268, 68%, 74%)
HSVhsv(268, 38%, 92%)
CMYKcmyk(20.5%, 38%, 0%, 8.2%)
CIE-LABlab(67.00, 32.59, -39.24)
CIE-LCHlch(67.00, 51.01, 309.71°)
OKLaboklab(72.85% 0.0749 -0.1089)
OKLCHoklch(72.85% 0.132 304.5)
XYZxyz(45.2233, 36.6306, 82.5139)
Luminance0.3663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA91EA #C1EA91
analogous
#9195EA #BA91EA #E691EA
triadic
#BA91EA #EABA91 #91EABA
tetradic
#BA91EA #EA9195 #C1EA91 #91EAE6
square
#BA91EA #EA9195 #C1EA91 #91EAE6
split-complementary
#BA91EA #EAE691 #95EA91
monochromatic
#7A2AD6 #9A5EE0 #BA91EA #DAC4F4 #EFE5FA

Accessibility & contrast

On white

2.52
#BA91EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#BA91EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA91EA
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA91EA#FFFFFF#000000##000000
##BA91EA1.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA2ED
Deuteranopia (green-blind)
#86A3E8
Tritanopia (blue-blind)
#B29FB3
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ba91ea;
/* rgb */ color: rgb(186, 145, 234);
/* oklch */ color: oklch(72.9% 0.132 304.5);
Tailwind
colors: {
  custom: {
    50: '#d0b1f1',
    500: '#ba91ea',
    950: '#000000',
  },
}
SCSS
$custom: #ba91ea;
$custom-light: #d0b1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba91ea",
  "rgb": {
    "r": 186,
    "g": 145,
    "b": 234
  },
  "hsl": {
    "h": 267.64,
    "s": 67.939,
    "l": 74.314
  },
  "oklch": {
    "l": 0.72853,
    "c": 0.13214,
    "h": 304.5
  },
  "luminance": 0.3663
}

Semantic roles & 50–950 ramp

primary
#BA91EA
secondary
#E6F2D9
accent
#D0167A
background
#FCFAFE
surface
#F9F5FD
border
#D2CFD5
text
#141116
muted
#828084

Preview Lab

Preview with #BA91EA

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

Preview Lab → · Contrast checker → · Palette generator →

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