#BA92EF#BA92EF

#BA92EF is a light, vivid violet. Relative luminance 0.372; OKLCH L 73.3% C 0.137 H 303.0°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#BA92EF
RGBrgb(186, 146, 239)
HSLhsl(266, 74%, 75%)
HSVhsv(266, 39%, 94%)
CMYKcmyk(22.2%, 38.9%, 0%, 6.3%)
CIE-LABlab(67.45, 33.17, -41.28)
CIE-LCHlch(67.45, 52.96, 308.78°)
OKLaboklab(73.27% 0.0745 -0.1148)
OKLCHoklch(73.27% 0.137 303)
XYZxyz(46.1053, 37.2289, 86.4016)
Luminance0.3723 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA92EF #C7EF92
analogous
#9298EF #BA92EF #E892EF
triadic
#BA92EF #EFBA92 #92EFBA
tetradic
#BA92EF #EF9298 #C7EF92 #92EFE8
square
#BA92EF #EF9298 #C7EF92 #92EFE8
split-complementary
#BA92EF #EFE892 #98EF92
monochromatic
#7627DF #985DE7 #BA92EF #DCC7F7 #EEE4FB

Accessibility & contrast

On white

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

On black

8.45
#BA92EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA92EF
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA92EF#FFFFFF#000000##000000
##BA92EF1.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA3F3
Deuteranopia (green-blind)
#84A4ED
Tritanopia (blue-blind)
#B1A1B5
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ba92ef;
/* rgb */ color: rgb(186, 146, 239);
/* oklch */ color: oklch(73.3% 0.137 303.0);
Tailwind
colors: {
  custom: {
    50: '#d0b2f4',
    500: '#ba92ef',
    950: '#000000',
  },
}
SCSS
$custom: #ba92ef;
$custom-light: #d0b2f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba92ef",
  "rgb": {
    "r": 186,
    "g": 146,
    "b": 239
  },
  "hsl": {
    "h": 265.806,
    "s": 74.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.73265,
    "c": 0.13682,
    "h": 303
  },
  "luminance": 0.37229
}

Semantic roles & 50–950 ramp

primary
#BA92EF
secondary
#E7F3D8
accent
#D70F81
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085

Preview Lab

Preview with #BA92EF

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

Preview Lab → · Contrast checker → · Palette generator →

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