#BA90FF#BA90FF

#BA90FF is a light, vivid violet. Relative luminance 0.376; OKLCH L 73.7% C 0.160 H 299.9°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#BA90FF
RGBrgb(186, 144, 255)
HSLhsl(263, 100%, 78%)
HSVhsv(263, 44%, 100%)
CMYKcmyk(27.1%, 43.5%, 0%, 0%)
CIE-LABlab(67.73, 38.01, -49.59)
CIE-LCHlch(67.73, 62.49, 307.47°)
OKLaboklab(73.72% 0.08 -0.1388)
OKLCHoklch(73.72% 0.16 299.9)
XYZxyz(48.2688, 37.6054, 99.3039)
Luminance0.3761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA90FF #D5FF90
analogous
#909DFF #BA90FF #F290FF
triadic
#BA90FF #FFBA90 #90FFBA
tetradic
#BA90FF #FF909D #D5FF90 #90FFF2
square
#BA90FF #FF909D #D5FF90 #90FFF2
split-complementary
#BA90FF #FFF290 #9DFF90
monochromatic
#6E16FF #9453FF #BA90FF #E0CDFF #ECE0FF

Accessibility & contrast

On white

2.46
#BA90FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#BA90FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA90FF
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA90FF#FFFFFF#000000##000000
##BA90FF1.002.468.528.52
#FFFFFF2.461.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A5FF
Deuteranopia (green-blind)
#79A4FC
Tritanopia (blue-blind)
#ADA3BB
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ba90ff;
/* rgb */ color: rgb(186, 144, 255);
/* oklch */ color: oklch(73.7% 0.160 299.9);
Tailwind
colors: {
  custom: {
    50: '#d1b1ff',
    500: '#ba90ff',
    950: '#000000',
  },
}
SCSS
$custom: #ba90ff;
$custom-light: #d1b1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ba90ff",
  "rgb": {
    "r": 186,
    "g": 144,
    "b": 255
  },
  "hsl": {
    "h": 262.703,
    "s": 100,
    "l": 78.235
  },
  "oklch": {
    "l": 0.73717,
    "c": 0.16023,
    "h": 299.9
  },
  "luminance": 0.37606
}

Semantic roles & 50–950 ramp

primary
#BA90FF
secondary
#EAF7D4
accent
#E6008F
background
#FDFAFF
surface
#FAF5FF
border
#D3CFD7
text
#141118
muted
#838086

Preview Lab

Preview with #BA90FF

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

Preview Lab → · Contrast checker → · Palette generator →

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