#BA90EE#BA90EE

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

Color values

HEX#BA90EE
RGBrgb(186, 144, 238)
HSLhsl(267, 73%, 75%)
HSVhsv(267, 39%, 93%)
CMYKcmyk(21.8%, 39.5%, 0%, 6.7%)
CIE-LABlab(66.94, 34.05, -41.52)
CIE-LCHlch(66.94, 53.70, 309.35°)
OKLaboklab(72.87% 0.0771 -0.1154)
OKLCHoklch(72.87% 0.139 303.7)
XYZxyz(45.6523, 36.5588, 85.5238)
Luminance0.3656 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA90EE #C4EE90
analogous
#9095EE #BA90EE #E990EE
triadic
#BA90EE #EEBA90 #90EEBA
tetradic
#BA90EE #EE9095 #C4EE90 #90EEE9
square
#BA90EE #EE9095 #C4EE90 #90EEE9
split-complementary
#BA90EE #EEE990 #95EE90
monochromatic
#7826DE #995BE6 #BA90EE #DBC5F6 #EFE4FB

Accessibility & contrast

On white

2.53
#BA90EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#BA90EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA90EE
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA90EE#FFFFFF#000000##000000
##BA90EE1.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA2F2
Deuteranopia (green-blind)
#83A3EB
Tritanopia (blue-blind)
#B19FB4
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ba90ee;
/* rgb */ color: rgb(186, 144, 238);
/* oklch */ color: oklch(72.9% 0.139 303.7);
Tailwind
colors: {
  custom: {
    50: '#d0b1f4',
    500: '#ba90ee',
    950: '#000000',
  },
}
SCSS
$custom: #ba90ee;
$custom-light: #d0b1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba90ee",
  "rgb": {
    "r": 186,
    "g": 144,
    "b": 238
  },
  "hsl": {
    "h": 266.809,
    "s": 73.438,
    "l": 74.902
  },
  "oklch": {
    "l": 0.72869,
    "c": 0.13882,
    "h": 303.7
  },
  "luminance": 0.36559
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA90EE

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

Preview Lab → · Contrast checker → · Palette generator →

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