#BA92FD#BA92FD

#BA92FD is a light, vivid violet. Relative luminance 0.381; OKLCH L 74.0% C 0.155 H 299.9°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#BA92FD
RGBrgb(186, 146, 253)
HSLhsl(262, 96%, 78%)
HSVhsv(262, 42%, 99%)
CMYKcmyk(26.5%, 42.3%, 0%, 0.8%)
CIE-LABlab(68.09, 36.43, -47.94)
CIE-LCHlch(68.09, 60.22, 307.23°)
OKLaboklab(73.96% 0.077 -0.134)
OKLCHoklch(73.96% 0.155 299.9)
XYZxyz(48.2541, 38.0885, 97.7191)
Luminance0.3809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA92FD #D5FD92
analogous
#929FFD #BA92FD #EF92FD
triadic
#BA92FD #FDBA92 #92FDBA
tetradic
#BA92FD #FD929F #D5FD92 #92FDEF
square
#BA92FD #FD929F #D5FD92 #92FDEF
split-complementary
#BA92FD #FDEF92 #9FFD92
monochromatic
#6E1AFB #9456FC #BA92FD #E0CEFE #ECE1FE

Accessibility & contrast

On white

2.44
#BA92FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#BA92FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA92FD
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA92FD#FFFFFF#000000##000000
##BA92FD1.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba92fd;
/* rgb */ color: rgb(186, 146, 253);
/* oklch */ color: oklch(74.0% 0.155 299.9);
Tailwind
colors: {
  custom: {
    50: '#d1b2fe',
    500: '#ba92fd',
    950: '#000000',
  },
}
SCSS
$custom: #ba92fd;
$custom-light: #d1b2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ba92fd",
  "rgb": {
    "r": 186,
    "g": 146,
    "b": 253
  },
  "hsl": {
    "h": 262.43,
    "s": 96.396,
    "l": 78.235
  },
  "oklch": {
    "l": 0.73955,
    "c": 0.15458,
    "h": 299.9
  },
  "luminance": 0.38089
}

Semantic roles & 50–950 ramp

primary
#BA92FD
secondary
#EAF7D4
accent
#E60090
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141118
muted
#838086

Preview Lab

Preview with #BA92FD

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

Preview Lab → · Contrast checker → · Palette generator →

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