#BA90EB#BA90EB

#BA90EB is a light, vivid violet. Relative luminance 0.364; OKLCH L 72.7% C 0.135 H 304.5°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#BA90EB
RGBrgb(186, 144, 235)
HSLhsl(268, 69%, 74%)
HSVhsv(268, 39%, 92%)
CMYKcmyk(20.9%, 38.7%, 0%, 7.8%)
CIE-LABlab(66.81, 33.37, -40.08)
CIE-LCHlch(66.81, 52.15, 309.78°)
OKLaboklab(72.73% 0.0765 -0.1113)
OKLCHoklch(72.73% 0.135 304.5)
XYZxyz(45.2153, 36.3839, 83.2219)
Luminance0.3638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA90EB #C1EB90
analogous
#9094EB #BA90EB #E790EB
triadic
#BA90EB #EBBA90 #90EBBA
tetradic
#BA90EB #EB9094 #C1EB90 #90EBE7
square
#BA90EB #EB9094 #C1EB90 #90EBE7
split-complementary
#BA90EB #EBE790 #94EB90
monochromatic
#7A28D8 #9A5CE2 #BA90EB #DAC4F4 #EFE5FA

Accessibility & contrast

On white

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

On black

8.28
#BA90EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA90EB
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA90EB#FFFFFF#000000##000000
##BA90EB1.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA1EE
Deuteranopia (green-blind)
#84A3E9
Tritanopia (blue-blind)
#B29EB2
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ba90eb;
/* rgb */ color: rgb(186, 144, 235);
/* oklch */ color: oklch(72.7% 0.135 304.5);
Tailwind
colors: {
  custom: {
    50: '#d0b1f2',
    500: '#ba90eb',
    950: '#000000',
  },
}
SCSS
$custom: #ba90eb;
$custom-light: #d0b1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba90eb",
  "rgb": {
    "r": 186,
    "g": 144,
    "b": 235
  },
  "hsl": {
    "h": 267.692,
    "s": 69.466,
    "l": 74.314
  },
  "oklch": {
    "l": 0.72726,
    "c": 0.13504,
    "h": 304.5
  },
  "luminance": 0.36384
}

Semantic roles & 50–950 ramp

primary
#BA90EB
secondary
#E6F2D9
accent
#D1147A
background
#FCFAFE
surface
#F9F5FD
border
#D2CFD5
text
#141017
muted
#827F85

Preview Lab

Preview with #BA90EB

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

Preview Lab → · Contrast checker → · Palette generator →

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