#BA90EF#BA90EF

#BA90EF is a light, vivid violet. Relative luminance 0.366; OKLCH L 72.9% C 0.140 H 303.5°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#BA90EF
RGBrgb(186, 144, 239)
HSLhsl(267, 75%, 75%)
HSVhsv(267, 40%, 94%)
CMYKcmyk(22.2%, 39.7%, 0%, 6.3%)
CIE-LABlab(66.99, 34.28, -42.00)
CIE-LCHlch(66.99, 54.22, 309.22°)
OKLaboklab(72.92% 0.0773 -0.1168)
OKLCHoklch(72.92% 0.14 303.5)
XYZxyz(45.7997, 36.6177, 86.2997)
Luminance0.3662 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA90EF #C5EF90
analogous
#9096EF #BA90EF #E990EF
triadic
#BA90EF #EFBA90 #90EFBA
tetradic
#BA90EF #EF9096 #C5EF90 #90EFE9
square
#BA90EF #EF9096 #C5EF90 #90EFE9
split-complementary
#BA90EF #EFE990 #96EF90
monochromatic
#7725E0 #995BE7 #BA90EF #DBC5F7 #EEE4FB

Accessibility & contrast

On white

2.52
#BA90EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#BA90EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA90EF
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA90EF#FFFFFF#000000##000000
##BA90EF1.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A2F3
Deuteranopia (green-blind)
#82A3EC
Tritanopia (blue-blind)
#B19FB4
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ba90ef;
/* rgb */ color: rgb(186, 144, 239);
/* oklch */ color: oklch(72.9% 0.140 303.5);
Tailwind
colors: {
  custom: {
    50: '#d0b1f4',
    500: '#ba90ef',
    950: '#000000',
  },
}
SCSS
$custom: #ba90ef;
$custom-light: #d0b1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba90ef",
  "rgb": {
    "r": 186,
    "g": 144,
    "b": 239
  },
  "hsl": {
    "h": 266.526,
    "s": 74.803,
    "l": 75.098
  },
  "oklch": {
    "l": 0.72918,
    "c": 0.14008,
    "h": 303.5
  },
  "luminance": 0.36618
}

Semantic roles & 50–950 ramp

primary
#BA90EF
secondary
#E7F3D8
accent
#D70F7E
background
#FCFAFE
surface
#F9F5FD
border
#D2CFD5
text
#141017
muted
#827F85

Preview Lab

Preview with #BA90EF

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

Preview Lab → · Contrast checker → · Palette generator →

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