#BA75FB#BA75FB

#BA75FB is a light, vivid violet. Relative luminance 0.301; OKLCH L 69.2% C 0.197 H 305.6°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#BA75FB
RGBrgb(186, 117, 251)
HSLhsl(271, 94%, 72%)
HSVhsv(271, 53%, 98%)
CMYKcmyk(25.9%, 53.4%, 0%, 1.6%)
CIE-LABlab(61.76, 51.66, -56.86)
CIE-LCHlch(61.76, 76.83, 312.25°)
OKLaboklab(69.21% 0.1147 -0.16)
OKLCHoklch(69.21% 0.197 305.6)
XYZxyz(44.0199, 30.1270, 94.7442)
Luminance0.3013 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA75FB #B6FB75
analogous
#7775FB #BA75FB #FB75F9
triadic
#BA75FB #FBBA75 #75FBBA
tetradic
#BA75FB #FB7775 #B6FB75 #75F9FB
square
#BA75FB #FB7775 #B6FB75 #75F9FB
split-complementary
#BA75FB #F9FB75 #75FB77
monochromatic
#7E07EF #9C3AF9 #BA75FB #D8B0FD #F0E1FE

Accessibility & contrast

On white

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

On black

7.03
#BA75FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA75FB
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA75FB#FFFFFF#000000##000000
##BA75FB1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4893FF
Deuteranopia (green-blind)
#5F96F8
Tritanopia (blue-blind)
#AF8EAD
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ba75fb;
/* rgb */ color: rgb(186, 117, 251);
/* oklch */ color: oklch(69.2% 0.197 305.6);
Tailwind
colors: {
  custom: {
    50: '#d29ffd',
    500: '#ba75fb',
    950: '#000000',
  },
}
SCSS
$custom: #ba75fb;
$custom-light: #d29ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba75fb",
  "rgb": {
    "r": 186,
    "g": 117,
    "b": 251
  },
  "hsl": {
    "h": 270.896,
    "s": 94.366,
    "l": 72.157
  },
  "oklch": {
    "l": 0.69206,
    "c": 0.19688,
    "h": 305.6
  },
  "luminance": 0.30127
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA75FB

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

Preview Lab → · Contrast checker → · Palette generator →

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