#BA95FF#BA95FF

#BA95FF is a light, vivid violet. Relative luminance 0.392; OKLCH L 74.6% C 0.152 H 298.7°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#BA95FF
RGBrgb(186, 149, 255)
HSLhsl(261, 100%, 79%)
HSVhsv(261, 42%, 100%)
CMYKcmyk(27.1%, 41.6%, 0%, 0%)
CIE-LABlab(68.86, 35.25, -47.81)
CIE-LCHlch(68.86, 59.40, 306.40°)
OKLaboklab(74.57% 0.0733 -0.1337)
OKLCHoklch(74.57% 0.152 298.7)
XYZxyz(49.0429, 39.1536, 99.5620)
Luminance0.3915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA95FF #DAFF95
analogous
#95A5FF #BA95FF #EF95FF
triadic
#BA95FF #FFBA95 #95FFBA
tetradic
#BA95FF #FF95A5 #DAFF95 #95FFEF
square
#BA95FF #FF95A5 #DAFF95 #95FFEF
split-complementary
#BA95FF #FFEF95 #A5FF95
monochromatic
#6A1BFF #9258FF #BA95FF #E2D2FF #EBE0FF

Accessibility & contrast

On white

2.38
#BA95FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#BA95FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA95FF
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA95FF#FFFFFF#000000##000000
##BA95FF1.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A8FF
Deuteranopia (green-blind)
#7FA7FC
Tritanopia (blue-blind)
#ACA7BE
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ba95ff;
/* rgb */ color: rgb(186, 149, 255);
/* oklch */ color: oklch(74.6% 0.152 298.7);
Tailwind
colors: {
  custom: {
    50: '#d1b4ff',
    500: '#ba95ff',
    950: '#000000',
  },
}
SCSS
$custom: #ba95ff;
$custom-light: #d1b4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ba95ff",
  "rgb": {
    "r": 186,
    "g": 149,
    "b": 255
  },
  "hsl": {
    "h": 260.943,
    "s": 100,
    "l": 79.216
  },
  "oklch": {
    "l": 0.74572,
    "c": 0.15244,
    "h": 298.7
  },
  "luminance": 0.39154
}

Semantic roles & 50–950 ramp

primary
#BA95FF
secondary
#EBF7D4
accent
#E60095
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141118
muted
#838086

Preview Lab

Preview with #BA95FF

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

Preview Lab → · Contrast checker → · Palette generator →

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