#BA75F5#BA75F5

#BA75F5 is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.9% C 0.190 H 307.0°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#BA75F5
RGBrgb(186, 117, 245)
HSLhsl(272, 86%, 71%)
HSVhsv(272, 52%, 96%)
CMYKcmyk(24.1%, 52.2%, 0%, 3.9%)
CIE-LABlab(61.44, 50.30, -54.07)
CIE-LCHlch(61.44, 73.85, 312.93°)
OKLaboklab(68.86% 0.1144 -0.1518)
OKLCHoklch(68.86% 0.19 307)
XYZxyz(43.0891, 29.7547, 89.8418)
Luminance0.2975 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA75F5 #B0F575
analogous
#7A75F5 #BA75F5 #F575F0
triadic
#BA75F5 #F5BA75 #75F5BA
tetradic
#BA75F5 #F57A75 #B0F575 #75F0F5
square
#BA75F5 #F57A75 #B0F575 #75F0F5
split-complementary
#BA75F5 #F0F575 #75F57A
monochromatic
#8010DF #9D3CF1 #BA75F5 #D7AEF9 #F1E2FD

Accessibility & contrast

On white

3.02
#BA75F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#BA75F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA75F5
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA75F5#FFFFFF#000000##000000
##BA75F51.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D92F9
Deuteranopia (green-blind)
#6395F2
Tritanopia (blue-blind)
#B18CAA
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ba75f5;
/* rgb */ color: rgb(186, 117, 245);
/* oklch */ color: oklch(68.9% 0.190 307.0);
Tailwind
colors: {
  custom: {
    50: '#d29ff9',
    500: '#ba75f5',
    950: '#000000',
  },
}
SCSS
$custom: #ba75f5;
$custom-light: #d29ff9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba75f5",
  "rgb": {
    "r": 186,
    "g": 117,
    "b": 245
  },
  "hsl": {
    "h": 272.344,
    "s": 86.486,
    "l": 70.98
  },
  "oklch": {
    "l": 0.68864,
    "c": 0.19008,
    "h": 307
  },
  "luminance": 0.29754
}

Semantic roles & 50–950 ramp

primary
#BA75F5
secondary
#E2F4D2
accent
#E3026A
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140F17
muted
#837E85

Preview Lab

Preview with #BA75F5

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

Preview Lab → · Contrast checker → · Palette generator →

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