#BA92EB#BA92EB

#BA92EB is a light, vivid violet. Relative luminance 0.370; OKLCH L 73.1% C 0.132 H 304.0°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#BA92EB
RGBrgb(186, 146, 235)
HSLhsl(267, 69%, 75%)
HSVhsv(267, 38%, 92%)
CMYKcmyk(20.9%, 37.9%, 0%, 7.8%)
CIE-LABlab(67.27, 32.26, -39.36)
CIE-LCHlch(67.27, 50.89, 309.34°)
OKLaboklab(73.08% 0.0737 -0.1092)
OKLCHoklch(73.08% 0.132 304)
XYZxyz(45.5209, 36.9952, 83.3238)
Luminance0.3700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA92EB #C3EB92
analogous
#9297EB #BA92EB #E692EB
triadic
#BA92EB #EBBA92 #92EBBA
tetradic
#BA92EB #EB9297 #C3EB92 #92EBE6
square
#BA92EB #EB9297 #C3EB92 #92EBE6
split-complementary
#BA92EB #EBE692 #97EB92
monochromatic
#792BD8 #995EE2 #BA92EB #DBC6F4 #EFE5FA

Accessibility & contrast

On white

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

On black

8.40
#BA92EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA92EB
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA92EB#FFFFFF#000000##000000
##BA92EB1.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA3EE
Deuteranopia (green-blind)
#86A4E9
Tritanopia (blue-blind)
#B2A0B3
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ba92eb;
/* rgb */ color: rgb(186, 146, 235);
/* oklch */ color: oklch(73.1% 0.132 304.0);
Tailwind
colors: {
  custom: {
    50: '#d0b2f1',
    500: '#ba92eb',
    950: '#000000',
  },
}
SCSS
$custom: #ba92eb;
$custom-light: #d0b2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba92eb",
  "rgb": {
    "r": 186,
    "g": 146,
    "b": 235
  },
  "hsl": {
    "h": 266.966,
    "s": 68.992,
    "l": 74.706
  },
  "oklch": {
    "l": 0.73075,
    "c": 0.13175,
    "h": 304
  },
  "luminance": 0.36995
}

Semantic roles & 50–950 ramp

primary
#BA92EB
secondary
#E7F2D9
accent
#D1157C
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085

Preview Lab

Preview with #BA92EB

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

Preview Lab → · Contrast checker → · Palette generator →

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