#BA99FA#BA99FA

#BA99FA is a light, vivid violet. Relative luminance 0.401; OKLCH L 75.0% C 0.140 H 298.7°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#BA99FA
RGBrgb(186, 153, 250)
HSLhsl(260, 91%, 79%)
HSVhsv(260, 39%, 98%)
CMYKcmyk(25.6%, 38.8%, 0%, 2%)
CIE-LABlab(69.56, 31.84, -43.99)
CIE-LCHlch(69.56, 54.31, 305.90°)
OKLaboklab(75.02% 0.067 -0.1226)
OKLCHoklch(75.02% 0.14 298.7)
XYZxyz(48.8923, 40.1234, 95.5927)
Luminance0.4012 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA99FA #D9FA99
analogous
#99A9FA #BA99FA #EA99FA
triadic
#BA99FA #FABA99 #99FABA
tetradic
#BA99FA #FA99A9 #D9FA99 #99FAEA
square
#BA99FA #FA99A9 #D9FA99 #99FAEA
split-complementary
#BA99FA #FAEA99 #A9FA99
monochromatic
#6B24F4 #935FF7 #BA99FA #E1D3FD #EBE2FE

Accessibility & contrast

On white

2.33
#BA99FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.02
#BA99FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA99FA
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA99FA#FFFFFF#000000##000000
##BA99FA1.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#80AAFE
Deuteranopia (green-blind)
#86A9F7
Tritanopia (blue-blind)
#AEA9BE
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #ba99fa;
/* rgb */ color: rgb(186, 153, 250);
/* oklch */ color: oklch(75.0% 0.140 298.7);
Tailwind
colors: {
  custom: {
    50: '#d0b7fc',
    500: '#ba99fa',
    950: '#000000',
  },
}
SCSS
$custom: #ba99fa;
$custom-light: #d0b7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba99fa",
  "rgb": {
    "r": 186,
    "g": 153,
    "b": 250
  },
  "hsl": {
    "h": 260.412,
    "s": 90.654,
    "l": 79.02
  },
  "oklch": {
    "l": 0.75024,
    "c": 0.13974,
    "h": 298.7
  },
  "luminance": 0.40124
}

Semantic roles & 50–950 ramp

primary
#BA99FA
secondary
#EBF6D5
accent
#E60097
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085

Preview Lab

Preview with #BA99FA

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

Preview Lab → · Contrast checker → · Palette generator →

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