#BA90FA#BA90FA

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

Color values

HEX#BA90FA
RGBrgb(186, 144, 250)
HSLhsl(264, 91%, 77%)
HSVhsv(264, 42%, 98%)
CMYKcmyk(25.6%, 42.4%, 0%, 2%)
CIE-LABlab(67.49, 36.83, -47.24)
CIE-LCHlch(67.49, 59.90, 307.94°)
OKLaboklab(73.46% 0.0792 -0.132)
OKLCHoklch(73.46% 0.154 301)
XYZxyz(47.4744, 37.2876, 95.1201)
Luminance0.3729 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA90FA #D0FA90
analogous
#909BFA #BA90FA #EF90FA
triadic
#BA90FA #FABA90 #90FABA
tetradic
#BA90FA #FA909B #D0FA90 #90FAEF
square
#BA90FA #FA909B #D0FA90 #90FAEF
split-complementary
#BA90FA #FAEF90 #9BFA90
monochromatic
#711BF5 #9655F7 #BA90FA #DECBFD #EDE2FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA90FA#FFFFFF#000000##000000
##BA90FA1.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)
#73A4FE
Deuteranopia (green-blind)
#7CA4F7
Tritanopia (blue-blind)
#AEA2B9
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ba90fa;
/* rgb */ color: rgb(186, 144, 250);
/* oklch */ color: oklch(73.5% 0.154 301.0);
Tailwind
colors: {
  custom: {
    50: '#d1b1fc',
    500: '#ba90fa',
    950: '#000000',
  },
}
SCSS
$custom: #ba90fa;
$custom-light: #d1b1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba90fa",
  "rgb": {
    "r": 186,
    "g": 144,
    "b": 250
  },
  "hsl": {
    "h": 263.774,
    "s": 91.379,
    "l": 77.255
  },
  "oklch": {
    "l": 0.73462,
    "c": 0.15394,
    "h": 301
  },
  "luminance": 0.37288
}

Semantic roles & 50–950 ramp

primary
#BA90FA
secondary
#E9F6D5
accent
#E6008B
background
#FDFAFF
surface
#FAF5FF
border
#D3CFD7
text
#141017
muted
#837F85

Preview Lab

Preview with #BA90FA

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

Preview Lab → · Contrast checker → · Palette generator →

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