#BA93FF#BA93FF

#BA93FF is a light, vivid violet. Relative luminance 0.385; OKLCH L 74.2% C 0.156 H 299.2°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#BA93FF
RGBrgb(186, 147, 255)
HSLhsl(262, 100%, 79%)
HSVhsv(262, 42%, 100%)
CMYKcmyk(27.1%, 42.4%, 0%, 0%)
CIE-LABlab(68.41, 36.36, -48.53)
CIE-LCHlch(68.41, 60.63, 306.84°)
OKLaboklab(74.23% 0.076 -0.1357)
OKLCHoklch(74.23% 0.156 299.2)
XYZxyz(48.7292, 38.5262, 99.4574)
Luminance0.3853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA93FF #D8FF93
analogous
#93A2FF #BA93FF #F093FF
triadic
#BA93FF #FFBA93 #93FFBA
tetradic
#BA93FF #FF93A2 #D8FF93 #93FFF0
square
#BA93FF #FF93A2 #D8FF93 #93FFF0
split-complementary
#BA93FF #FFF093 #A2FF93
monochromatic
#6C19FF #9356FF #BA93FF #E1D0FF #EBE0FF

Accessibility & contrast

On white

2.41
#BA93FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#BA93FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA93FF
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA93FF#FFFFFF#000000##000000
##BA93FF1.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A7FF
Deuteranopia (green-blind)
#7DA6FC
Tritanopia (blue-blind)
#ADA6BD
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ba93ff;
/* rgb */ color: rgb(186, 147, 255);
/* oklch */ color: oklch(74.2% 0.156 299.2);
Tailwind
colors: {
  custom: {
    50: '#d1b3ff',
    500: '#ba93ff',
    950: '#000000',
  },
}
SCSS
$custom: #ba93ff;
$custom-light: #d1b3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ba93ff",
  "rgb": {
    "r": 186,
    "g": 147,
    "b": 255
  },
  "hsl": {
    "h": 261.667,
    "s": 100,
    "l": 78.824
  },
  "oklch": {
    "l": 0.74228,
    "c": 0.15556,
    "h": 299.2
  },
  "luminance": 0.38527
}

Semantic roles & 50–950 ramp

primary
#BA93FF
secondary
#EAF7D4
accent
#E60093
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141118
muted
#838086

Preview Lab

Preview with #BA93FF

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

Preview Lab → · Contrast checker → · Palette generator →

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