#BA95FA#BA95FA

#BA95FA is a light, vivid violet. Relative luminance 0.388; OKLCH L 74.3% C 0.146 H 299.7°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#BA95FA
RGBrgb(186, 149, 250)
HSLhsl(262, 91%, 78%)
HSVhsv(262, 40%, 98%)
CMYKcmyk(25.6%, 40.4%, 0%, 2%)
CIE-LABlab(68.63, 34.06, -45.45)
CIE-LCHlch(68.63, 56.80, 306.85°)
OKLaboklab(74.32% 0.0724 -0.1268)
OKLCHoklch(74.32% 0.146 299.7)
XYZxyz(48.2485, 38.8359, 95.3781)
Luminance0.3884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA95FA #D5FA95
analogous
#95A2FA #BA95FA #EC95FA
triadic
#BA95FA #FABA95 #95FABA
tetradic
#BA95FA #FA95A2 #D5FA95 #95FAEC
square
#BA95FA #FA95A2 #D5FA95 #95FAEC
split-complementary
#BA95FA #FAEC95 #A2FA95
monochromatic
#6E20F4 #945BF7 #BA95FA #E0CFFD #ECE2FE

Accessibility & contrast

On white

2.40
#BA95FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#BA95FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA95FA
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA95FA#FFFFFF#000000##000000
##BA95FA1.002.408.778.77
#FFFFFF2.401.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA7FE
Deuteranopia (green-blind)
#81A7F7
Tritanopia (blue-blind)
#AEA6BC
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ba95fa;
/* rgb */ color: rgb(186, 149, 250);
/* oklch */ color: oklch(74.3% 0.146 299.7);
Tailwind
colors: {
  custom: {
    50: '#d0b4fc',
    500: '#ba95fa',
    950: '#000000',
  },
}
SCSS
$custom: #ba95fa;
$custom-light: #d0b4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba95fa",
  "rgb": {
    "r": 186,
    "g": 149,
    "b": 250
  },
  "hsl": {
    "h": 261.98,
    "s": 90.991,
    "l": 78.235
  },
  "oklch": {
    "l": 0.74323,
    "c": 0.14604,
    "h": 299.7
  },
  "luminance": 0.38836
}

Semantic roles & 50–950 ramp

primary
#BA95FA
secondary
#EAF6D5
accent
#E60091
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141117
muted
#838085

Preview Lab

Preview with #BA95FA

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

Preview Lab → · Contrast checker → · Palette generator →

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