#BA93EA#BA93EA

#BA93EA is a light, vivid violet. Relative luminance 0.372; OKLCH L 73.2% C 0.129 H 304.0°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#BA93EA
RGBrgb(186, 147, 234)
HSLhsl(267, 67%, 75%)
HSVhsv(267, 37%, 92%)
CMYKcmyk(20.5%, 37.2%, 0%, 8.2%)
CIE-LABlab(67.46, 31.48, -38.52)
CIE-LCHlch(67.46, 49.74, 309.26°)
OKLaboklab(73.2% 0.0721 -0.1068)
OKLCHoklch(73.2% 0.129 304)
XYZxyz(45.5316, 37.2472, 82.6167)
Luminance0.3725 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA93EA #C3EA93
analogous
#9397EA #BA93EA #E693EA
triadic
#BA93EA #EABA93 #93EABA
tetradic
#BA93EA #EA9397 #C3EA93 #93EAE6
square
#BA93EA #EA9397 #C3EA93 #93EAE6
split-complementary
#BA93EA #EAE693 #97EA93
monochromatic
#792DD6 #9960E0 #BA93EA #DBC6F4 #EFE5FA

Accessibility & contrast

On white

2.49
#BA93EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#BA93EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA93EA
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA93EA#FFFFFF#000000##000000
##BA93EA1.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA3ED
Deuteranopia (green-blind)
#87A4E8
Tritanopia (blue-blind)
#B2A1B4
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ba93ea;
/* rgb */ color: rgb(186, 147, 234);
/* oklch */ color: oklch(73.2% 0.129 304.0);
Tailwind
colors: {
  custom: {
    50: '#d0b3f1',
    500: '#ba93ea',
    950: '#000000',
  },
}
SCSS
$custom: #ba93ea;
$custom-light: #d0b3f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba93ea",
  "rgb": {
    "r": 186,
    "g": 147,
    "b": 234
  },
  "hsl": {
    "h": 266.897,
    "s": 67.442,
    "l": 74.706
  },
  "oklch": {
    "l": 0.73204,
    "c": 0.12884,
    "h": 304
  },
  "luminance": 0.37247
}

Semantic roles & 50–950 ramp

primary
#BA93EA
secondary
#E7F2D9
accent
#CF167C
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #BA93EA

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

Preview Lab → · Contrast checker → · Palette generator →

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