#BA75FA#BA75FA

#BA75FA is a light, vivid violet. Relative luminance 0.301; OKLCH L 69.1% C 0.196 H 305.9°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#BA75FA
RGBrgb(186, 117, 250)
HSLhsl(271, 93%, 72%)
HSVhsv(271, 53%, 98%)
CMYKcmyk(25.6%, 53.2%, 0%, 2%)
CIE-LABlab(61.71, 51.43, -56.40)
CIE-LCHlch(61.71, 76.33, 312.36°)
OKLaboklab(69.15% 0.1147 -0.1586)
OKLCHoklch(69.15% 0.196 305.9)
XYZxyz(43.8627, 30.0641, 93.9162)
Luminance0.3006 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA75FA #B5FA75
analogous
#7875FA #BA75FA #FA75F7
triadic
#BA75FA #FABA75 #75FABA
tetradic
#BA75FA #FA7875 #B5FA75 #75F7FA
square
#BA75FA #FA7875 #B5FA75 #75F7FA
split-complementary
#BA75FA #F7FA75 #75FA78
monochromatic
#7F09EC #9C3AF8 #BA75FA #D8B0FC #F0E1FE

Accessibility & contrast

On white

2.99
#BA75FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.01
#BA75FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA75FA
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA75FA#FFFFFF#000000##000000
##BA75FA1.002.997.017.01
#FFFFFF2.991.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4993FE
Deuteranopia (green-blind)
#5F95F7
Tritanopia (blue-blind)
#B08DAD
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ba75fa;
/* rgb */ color: rgb(186, 117, 250);
/* oklch */ color: oklch(69.1% 0.196 305.9);
Tailwind
colors: {
  custom: {
    50: '#d29ffc',
    500: '#ba75fa',
    950: '#000000',
  },
}
SCSS
$custom: #ba75fa;
$custom-light: #d29ffc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba75fa",
  "rgb": {
    "r": 186,
    "g": 117,
    "b": 250
  },
  "hsl": {
    "h": 271.128,
    "s": 93.007,
    "l": 71.961
  },
  "oklch": {
    "l": 0.69149,
    "c": 0.19575,
    "h": 305.9
  },
  "luminance": 0.30064
}

Semantic roles & 50–950 ramp

primary
#BA75FA
secondary
#E5F6D5
accent
#E6006E
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140F18
muted
#837E86

Preview Lab

Preview with #BA75FA

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

Preview Lab → · Contrast checker → · Palette generator →

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