#BA92EE#BA92EE

#BA92EE is a light, vivid violet. Relative luminance 0.372; OKLCH L 73.2% C 0.136 H 303.2°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#BA92EE
RGBrgb(186, 146, 238)
HSLhsl(266, 73%, 75%)
HSVhsv(266, 39%, 93%)
CMYKcmyk(21.8%, 38.7%, 0%, 6.7%)
CIE-LABlab(67.40, 32.94, -40.80)
CIE-LCHlch(67.40, 52.44, 308.91°)
OKLaboklab(73.22% 0.0743 -0.1134)
OKLCHoklch(73.22% 0.136 303.2)
XYZxyz(45.9579, 37.1700, 85.6257)
Luminance0.3717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA92EE #C6EE92
analogous
#9298EE #BA92EE #E892EE
triadic
#BA92EE #EEBA92 #92EEBA
tetradic
#BA92EE #EE9298 #C6EE92 #92EEE8
square
#BA92EE #EE9298 #C6EE92 #92EEE8
split-complementary
#BA92EE #EEE892 #98EE92
monochromatic
#7728DD #985DE6 #BA92EE #DCC7F6 #EEE5FB

Accessibility & contrast

On white

2.49
#BA92EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#BA92EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA92EE
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA92EE#FFFFFF#000000##000000
##BA92EE1.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA3F1
Deuteranopia (green-blind)
#85A4EC
Tritanopia (blue-blind)
#B1A1B5
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ba92ee;
/* rgb */ color: rgb(186, 146, 238);
/* oklch */ color: oklch(73.2% 0.136 303.2);
Tailwind
colors: {
  custom: {
    50: '#d0b2f4',
    500: '#ba92ee',
    950: '#000000',
  },
}
SCSS
$custom: #ba92ee;
$custom-light: #d0b2f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba92ee",
  "rgb": {
    "r": 186,
    "g": 146,
    "b": 238
  },
  "hsl": {
    "h": 266.087,
    "s": 73.016,
    "l": 75.294
  },
  "oklch": {
    "l": 0.73217,
    "c": 0.13555,
    "h": 303.2
  },
  "luminance": 0.3717
}

Semantic roles & 50–950 ramp

primary
#BA92EE
secondary
#E7F3D8
accent
#D51080
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085

Preview Lab

Preview with #BA92EE

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

Preview Lab → · Contrast checker → · Palette generator →

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