#BA92FC#BA92FC

#BA92FC is a light, vivid violet. Relative luminance 0.380; OKLCH L 73.9% C 0.153 H 300.1°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#BA92FC
RGBrgb(186, 146, 252)
HSLhsl(263, 95%, 78%)
HSVhsv(263, 42%, 99%)
CMYKcmyk(26.2%, 42.1%, 0%, 1.2%)
CIE-LABlab(68.04, 36.20, -47.47)
CIE-LCHlch(68.04, 59.70, 307.33°)
OKLaboklab(73.91% 0.0768 -0.1327)
OKLCHoklch(73.91% 0.153 300.1)
XYZxyz(48.0953, 38.0249, 96.8823)
Luminance0.3802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA92FC #D4FC92
analogous
#929FFC #BA92FC #EF92FC
triadic
#BA92FC #FCBA92 #92FCBA
tetradic
#BA92FC #FC929F #D4FC92 #92FCEF
square
#BA92FC #FC929F #D4FC92 #92FCEF
split-complementary
#BA92FC #FCEF92 #9FFC92
monochromatic
#6F1BF9 #9456FA #BA92FC #E0CEFE #ECE1FE

Accessibility & contrast

On white

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

On black

8.60
#BA92FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA92FC
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA92FC#FFFFFF#000000##000000
##BA92FC1.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A6FF
Deuteranopia (green-blind)
#7DA5F9
Tritanopia (blue-blind)
#ADA4BB
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ba92fc;
/* rgb */ color: rgb(186, 146, 252);
/* oklch */ color: oklch(73.9% 0.153 300.1);
Tailwind
colors: {
  custom: {
    50: '#d1b2fe',
    500: '#ba92fc',
    950: '#000000',
  },
}
SCSS
$custom: #ba92fc;
$custom-light: #d1b2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ba92fc",
  "rgb": {
    "r": 186,
    "g": 146,
    "b": 252
  },
  "hsl": {
    "h": 262.642,
    "s": 94.643,
    "l": 78.039
  },
  "oklch": {
    "l": 0.73905,
    "c": 0.15331,
    "h": 300.1
  },
  "luminance": 0.38025
}

Semantic roles & 50–950 ramp

primary
#BA92FC
secondary
#EAF6D5
accent
#E6008F
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141118
muted
#838086

Preview Lab

Preview with #BA92FC

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

Preview Lab → · Contrast checker → · Palette generator →

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