#BA92EC#BA92EC

#BA92EC is a light, vivid violet. Relative luminance 0.371; OKLCH L 73.1% C 0.133 H 303.7°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#BA92EC
RGBrgb(186, 146, 236)
HSLhsl(267, 70%, 75%)
HSVhsv(267, 38%, 93%)
CMYKcmyk(21.2%, 38.1%, 0%, 7.5%)
CIE-LABlab(67.32, 32.49, -39.84)
CIE-LCHlch(67.32, 51.41, 309.19°)
OKLaboklab(73.12% 0.0739 -0.1106)
OKLCHoklch(73.12% 0.133 303.7)
XYZxyz(45.6657, 37.0531, 84.0868)
Luminance0.3705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA92EC #C4EC92
analogous
#9297EC #BA92EC #E792EC
triadic
#BA92EC #ECBA92 #92ECBA
tetradic
#BA92EC #EC9297 #C4EC92 #92ECE7
square
#BA92EC #EC9297 #C4EC92 #92ECE7
split-complementary
#BA92EC #ECE792 #97EC92
monochromatic
#782ADA #995EE3 #BA92EC #DBC6F5 #EFE5FA

Accessibility & contrast

On white

2.50
#BA92EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#BA92EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA92EC
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA92EC#FFFFFF#000000##000000
##BA92EC1.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA3EF
Deuteranopia (green-blind)
#86A4EA
Tritanopia (blue-blind)
#B2A0B4
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ba92ec;
/* rgb */ color: rgb(186, 146, 236);
/* oklch */ color: oklch(73.1% 0.133 303.7);
Tailwind
colors: {
  custom: {
    50: '#d0b2f2',
    500: '#ba92ec',
    950: '#000000',
  },
}
SCSS
$custom: #ba92ec;
$custom-light: #d0b2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba92ec",
  "rgb": {
    "r": 186,
    "g": 146,
    "b": 236
  },
  "hsl": {
    "h": 266.667,
    "s": 70.313,
    "l": 74.902
  },
  "oklch": {
    "l": 0.73122,
    "c": 0.13302,
    "h": 303.7
  },
  "luminance": 0.37053
}

Semantic roles & 50–950 ramp

primary
#BA92EC
secondary
#E7F2D9
accent
#D2137D
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085

Preview Lab

Preview with #BA92EC

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

Preview Lab → · Contrast checker → · Palette generator →

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