#BA93EB#BA93EB

#BA93EB is a light, vivid violet. Relative luminance 0.373; OKLCH L 73.3% C 0.130 H 303.7°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#BA93EB
RGBrgb(186, 147, 235)
HSLhsl(267, 69%, 75%)
HSVhsv(267, 37%, 92%)
CMYKcmyk(20.9%, 37.4%, 0%, 7.8%)
CIE-LABlab(67.51, 31.70, -39.00)
CIE-LCHlch(67.51, 50.26, 309.11°)
OKLaboklab(73.25% 0.0723 -0.1082)
OKLCHoklch(73.25% 0.13 303.7)
XYZxyz(45.6757, 37.3048, 83.3754)
Luminance0.3730 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA93EB #C4EB93
analogous
#9398EB #BA93EB #E693EB
triadic
#BA93EB #EBBA93 #93EBBA
tetradic
#BA93EB #EB9398 #C4EB93 #93EBE6
square
#BA93EB #EB9398 #C4EB93 #93EBE6
split-complementary
#BA93EB #EBE693 #98EB93
monochromatic
#782CD8 #995FE1 #BA93EB #DBC7F5 #EFE5FA

Accessibility & contrast

On white

2.48
#BA93EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#BA93EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA93EB
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA93EB#FFFFFF#000000##000000
##BA93EB1.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba93eb;
/* rgb */ color: rgb(186, 147, 235);
/* oklch */ color: oklch(73.3% 0.130 303.7);
Tailwind
colors: {
  custom: {
    50: '#d0b3f1',
    500: '#ba93eb',
    950: '#000000',
  },
}
SCSS
$custom: #ba93eb;
$custom-light: #d0b3f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba93eb",
  "rgb": {
    "r": 186,
    "g": 147,
    "b": 235
  },
  "hsl": {
    "h": 266.591,
    "s": 68.75,
    "l": 74.902
  },
  "oklch": {
    "l": 0.73251,
    "c": 0.13011,
    "h": 303.7
  },
  "luminance": 0.37305
}

Semantic roles & 50–950 ramp

primary
#BA93EB
secondary
#E7F2D9
accent
#D1157D
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085

Preview Lab

Preview with #BA93EB

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

Preview Lab → · Contrast checker → · Palette generator →

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