#BA92FE#BA92FE

#BA92FE is a light, vivid violet. Relative luminance 0.382; OKLCH L 74.0% C 0.156 H 299.7°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#BA92FE
RGBrgb(186, 146, 254)
HSLhsl(262, 98%, 78%)
HSVhsv(262, 43%, 100%)
CMYKcmyk(26.8%, 42.5%, 0%, 0.4%)
CIE-LABlab(68.13, 36.67, -48.41)
CIE-LCHlch(68.13, 60.73, 307.14°)
OKLaboklab(74.01% 0.0772 -0.1354)
OKLCHoklch(74.01% 0.156 299.7)
XYZxyz(48.4139, 38.1524, 98.5602)
Luminance0.3815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA92FE #D6FE92
analogous
#92A0FE #BA92FE #F092FE
triadic
#BA92FE #FEBA92 #92FEBA
tetradic
#BA92FE #FE92A0 #D6FE92 #92FEF0
square
#BA92FE #FE92A0 #D6FE92 #92FEF0
split-complementary
#BA92FE #FEF092 #A0FE92
monochromatic
#6D19FD #9455FD #BA92FE #E0CFFF #ECE1FF

Accessibility & contrast

On white

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

On black

8.63
#BA92FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA92FE
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA92FE#FFFFFF#000000##000000
##BA92FE1.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba92fe;
/* rgb */ color: rgb(186, 146, 254);
/* oklch */ color: oklch(74.0% 0.156 299.7);
Tailwind
colors: {
  custom: {
    50: '#d1b2ff',
    500: '#ba92fe',
    950: '#000000',
  },
}
SCSS
$custom: #ba92fe;
$custom-light: #d1b2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ba92fe",
  "rgb": {
    "r": 186,
    "g": 146,
    "b": 254
  },
  "hsl": {
    "h": 262.222,
    "s": 98.182,
    "l": 78.431
  },
  "oklch": {
    "l": 0.74006,
    "c": 0.15585,
    "h": 299.7
  },
  "luminance": 0.38153
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA92FE

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

Preview Lab → · Contrast checker → · Palette generator →

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