#BA92FF#BA92FF

#BA92FF is a light, vivid violet. Relative luminance 0.382; OKLCH L 74.1% C 0.157 H 299.5°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#BA92FF
RGBrgb(186, 146, 255)
HSLhsl(262, 100%, 79%)
HSVhsv(262, 43%, 100%)
CMYKcmyk(27.1%, 42.7%, 0%, 0%)
CIE-LABlab(68.18, 36.91, -48.88)
CIE-LCHlch(68.18, 61.25, 307.06°)
OKLaboklab(74.06% 0.0773 -0.1368)
OKLCHoklch(74.06% 0.157 299.5)
XYZxyz(48.5744, 38.2166, 99.4058)
Luminance0.3822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA92FF #D7FF92
analogous
#92A0FF #BA92FF #F092FF
triadic
#BA92FF #FFBA92 #92FFBA
tetradic
#BA92FF #FF92A0 #D7FF92 #92FFF0
square
#BA92FF #FF92A0 #D7FF92 #92FFF0
split-complementary
#BA92FF #FFF092 #A0FF92
monochromatic
#6D18FF #9355FF #BA92FF #E1CFFF #ECE0FF

Accessibility & contrast

On white

2.43
#BA92FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.64
#BA92FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA92FF
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA92FF#FFFFFF#000000##000000
##BA92FF1.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A6FF
Deuteranopia (green-blind)
#7BA5FC
Tritanopia (blue-blind)
#ADA5BC
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ba92ff;
/* rgb */ color: rgb(186, 146, 255);
/* oklch */ color: oklch(74.1% 0.157 299.5);
Tailwind
colors: {
  custom: {
    50: '#d1b2ff',
    500: '#ba92ff',
    950: '#000000',
  },
}
SCSS
$custom: #ba92ff;
$custom-light: #d1b2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ba92ff",
  "rgb": {
    "r": 186,
    "g": 146,
    "b": 255
  },
  "hsl": {
    "h": 262.018,
    "s": 100,
    "l": 78.627
  },
  "oklch": {
    "l": 0.74057,
    "c": 0.15712,
    "h": 299.5
  },
  "luminance": 0.38217
}

Semantic roles & 50–950 ramp

primary
#BA92FF
secondary
#EAF7D4
accent
#E60091
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141118
muted
#838086

Preview Lab

Preview with #BA92FF

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

Preview Lab → · Contrast checker → · Palette generator →

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