#BA90F9#BA90F9

#BA90F9 is a light, vivid violet. Relative luminance 0.372; OKLCH L 73.4% C 0.153 H 301.2°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#BA90F9
RGBrgb(186, 144, 249)
HSLhsl(264, 90%, 77%)
HSVhsv(264, 42%, 98%)
CMYKcmyk(25.3%, 42.2%, 0%, 2.4%)
CIE-LABlab(67.45, 36.60, -46.77)
CIE-LCHlch(67.45, 59.38, 308.05°)
OKLaboklab(73.41% 0.079 -0.1306)
OKLCHoklch(73.41% 0.153 301.2)
XYZxyz(47.3180, 37.2251, 94.2965)
Luminance0.3723 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA90F9 #CFF990
analogous
#909BF9 #BA90F9 #EF90F9
triadic
#BA90F9 #F9BA90 #90F9BA
tetradic
#BA90F9 #F9909B #CFF990 #90F9EF
square
#BA90F9 #F9909B #CFF990 #90F9EF
split-complementary
#BA90F9 #F9EF90 #9BF990
monochromatic
#721CF3 #9656F6 #BA90F9 #DECAFC #EDE2FD

Accessibility & contrast

On white

2.49
#BA90F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#BA90F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA90F9
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA90F9#FFFFFF#000000##000000
##BA90F91.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A4FD
Deuteranopia (green-blind)
#7DA4F6
Tritanopia (blue-blind)
#AEA2B9
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ba90f9;
/* rgb */ color: rgb(186, 144, 249);
/* oklch */ color: oklch(73.4% 0.153 301.2);
Tailwind
colors: {
  custom: {
    50: '#d1b1fb',
    500: '#ba90f9',
    950: '#000000',
  },
}
SCSS
$custom: #ba90f9;
$custom-light: #d1b1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba90f9",
  "rgb": {
    "r": 186,
    "g": 144,
    "b": 249
  },
  "hsl": {
    "h": 264,
    "s": 89.744,
    "l": 77.059
  },
  "oklch": {
    "l": 0.73412,
    "c": 0.15268,
    "h": 301.2
  },
  "luminance": 0.37225
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA90F9

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

Preview Lab → · Contrast checker → · Palette generator →

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