#BA90EA#BA90EA

#BA90EA is a light, vivid violet. Relative luminance 0.363; OKLCH L 72.7% C 0.134 H 304.8°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#BA90EA
RGBrgb(186, 144, 234)
HSLhsl(268, 68%, 74%)
HSVhsv(268, 38%, 92%)
CMYKcmyk(20.5%, 38.5%, 0%, 8.2%)
CIE-LABlab(66.77, 33.14, -39.60)
CIE-LCHlch(66.77, 51.64, 309.93°)
OKLaboklab(72.68% 0.0763 -0.1099)
OKLCHoklch(72.68% 0.134 304.8)
XYZxyz(45.0712, 36.3263, 82.4632)
Luminance0.3633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA90EA #C0EA90
analogous
#9093EA #BA90EA #E790EA
triadic
#BA90EA #EABA90 #90EABA
tetradic
#BA90EA #EA9093 #C0EA90 #90EAE7
square
#BA90EA #EA9093 #C0EA90 #90EAE7
split-complementary
#BA90EA #EAE790 #93EA90
monochromatic
#7A29D7 #9A5DE0 #BA90EA #DAC3F4 #EFE5FA

Accessibility & contrast

On white

2.54
#BA90EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#BA90EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA90EA
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA90EA#FFFFFF#000000##000000
##BA90EA1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA1ED
Deuteranopia (green-blind)
#85A3E8
Tritanopia (blue-blind)
#B39EB2
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ba90ea;
/* rgb */ color: rgb(186, 144, 234);
/* oklch */ color: oklch(72.7% 0.134 304.8);
Tailwind
colors: {
  custom: {
    50: '#d0b1f1',
    500: '#ba90ea',
    950: '#000000',
  },
}
SCSS
$custom: #ba90ea;
$custom-light: #d0b1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba90ea",
  "rgb": {
    "r": 186,
    "g": 144,
    "b": 234
  },
  "hsl": {
    "h": 268,
    "s": 68.182,
    "l": 74.118
  },
  "oklch": {
    "l": 0.72678,
    "c": 0.13378,
    "h": 304.8
  },
  "luminance": 0.36326
}

Semantic roles & 50–950 ramp

primary
#BA90EA
secondary
#E6F2D9
accent
#D01579
background
#FCFAFE
surface
#F9F5FD
border
#D2CFD5
text
#141016
muted
#827F84

Preview Lab

Preview with #BA90EA

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

Preview Lab → · Contrast checker → · Palette generator →

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