#BA92EA#BA92EA

#BA92EA is a light, vivid violet. Relative luminance 0.369; OKLCH L 73.0% C 0.130 H 304.3°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#BA92EA
RGBrgb(186, 146, 234)
HSLhsl(267, 68%, 75%)
HSVhsv(267, 38%, 92%)
CMYKcmyk(20.5%, 37.6%, 0%, 8.2%)
CIE-LABlab(67.23, 32.03, -38.88)
CIE-LCHlch(67.23, 50.38, 309.48°)
OKLaboklab(73.03% 0.0735 -0.1078)
OKLCHoklch(73.03% 0.13 304.3)
XYZxyz(45.3768, 36.9375, 82.5651)
Luminance0.3694 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA92EA #C2EA92
analogous
#9296EA #BA92EA #E692EA
triadic
#BA92EA #EABA92 #92EABA
tetradic
#BA92EA #EA9296 #C2EA92 #92EAE6
square
#BA92EA #EA9296 #C2EA92 #92EAE6
split-complementary
#BA92EA #EAE692 #96EA92
monochromatic
#792BD6 #9A5FE0 #BA92EA #DAC5F4 #EFE5FA

Accessibility & contrast

On white

2.50
#BA92EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#BA92EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA92EA
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA92EA#FFFFFF#000000##000000
##BA92EA1.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA3ED
Deuteranopia (green-blind)
#86A4E8
Tritanopia (blue-blind)
#B2A0B3
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ba92ea;
/* rgb */ color: rgb(186, 146, 234);
/* oklch */ color: oklch(73.0% 0.130 304.3);
Tailwind
colors: {
  custom: {
    50: '#d0b2f1',
    500: '#ba92ea',
    950: '#000000',
  },
}
SCSS
$custom: #ba92ea;
$custom-light: #d0b2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba92ea",
  "rgb": {
    "r": 186,
    "g": 146,
    "b": 234
  },
  "hsl": {
    "h": 267.273,
    "s": 67.692,
    "l": 74.51
  },
  "oklch": {
    "l": 0.73028,
    "c": 0.13049,
    "h": 304.3
  },
  "luminance": 0.36937
}

Semantic roles & 50–950 ramp

primary
#BA92EA
secondary
#E7F2D9
accent
#D0167B
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #BA92EA

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

Preview Lab → · Contrast checker → · Palette generator →

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