#BA75F9#BA75F9

#BA75F9 is a light, vivid violet. Relative luminance 0.300; OKLCH L 69.1% C 0.195 H 306.1°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#BA75F9
RGBrgb(186, 117, 249)
HSLhsl(271, 92%, 72%)
HSVhsv(271, 53%, 98%)
CMYKcmyk(25.3%, 53%, 0%, 2.4%)
CIE-LABlab(61.66, 51.20, -55.93)
CIE-LCHlch(61.66, 75.83, 312.47°)
OKLaboklab(69.09% 0.1146 -0.1573)
OKLCHoklch(69.09% 0.195 306.1)
XYZxyz(43.7063, 30.0016, 93.0926)
Luminance0.3000 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA75F9 #B4F975
analogous
#7875F9 #BA75F9 #F975F6
triadic
#BA75F9 #F9BA75 #75F9BA
tetradic
#BA75F9 #F97875 #B4F975 #75F6F9
square
#BA75F9 #F97875 #B4F975 #75F6F9
split-complementary
#BA75F9 #F6F975 #75F978
monochromatic
#7F0AE9 #9D3AF6 #BA75F9 #D7B0FC #F0E2FE

Accessibility & contrast

On white

3.00
#BA75F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#BA75F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA75F9
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA75F9#FFFFFF#000000##000000
##BA75F91.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A93FD
Deuteranopia (green-blind)
#6095F6
Tritanopia (blue-blind)
#B08DAC
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ba75f9;
/* rgb */ color: rgb(186, 117, 249);
/* oklch */ color: oklch(69.1% 0.195 306.1);
Tailwind
colors: {
  custom: {
    50: '#d29ffc',
    500: '#ba75f9',
    950: '#000000',
  },
}
SCSS
$custom: #ba75f9;
$custom-light: #d29ffc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba75f9",
  "rgb": {
    "r": 186,
    "g": 117,
    "b": 249
  },
  "hsl": {
    "h": 271.364,
    "s": 91.667,
    "l": 71.765
  },
  "oklch": {
    "l": 0.69091,
    "c": 0.19461,
    "h": 306.1
  },
  "luminance": 0.30001
}

Semantic roles & 50–950 ramp

primary
#BA75F9
secondary
#E4F6D4
accent
#E6006E
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140F17
muted
#837E85

Preview Lab

Preview with #BA75F9

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

Preview Lab → · Contrast checker → · Palette generator →

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