#BA75EF#BA75EF

#BA75EF is a light, vivid violet. Relative luminance 0.294; OKLCH L 68.5% C 0.183 H 308.4°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#BA75EF
RGBrgb(186, 117, 239)
HSLhsl(274, 79%, 70%)
HSVhsv(274, 51%, 94%)
CMYKcmyk(22.2%, 51%, 0%, 6.3%)
CIE-LABlab(61.13, 48.96, -51.24)
CIE-LCHlch(61.13, 70.87, 313.69°)
OKLaboklab(68.53% 0.1139 -0.1436)
OKLCHoklch(68.53% 0.183 308.4)
XYZxyz(42.1879, 29.3942, 85.0958)
Luminance0.2939 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA75EF #AAEF75
analogous
#7D75EF #BA75EF #EF75E7
triadic
#BA75EF #EFBA75 #75EFBA
tetradic
#BA75EF #EF7D75 #AAEF75 #75E7EF
square
#BA75EF #EF7D75 #AAEF75 #75E7EF
split-complementary
#BA75EF #E7EF75 #75EF7D
monochromatic
#8118D1 #9F3EE9 #BA75EF #D5ACF5 #F1E3FC

Accessibility & contrast

On white

3.05
#BA75EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#BA75EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA75EF
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA75EF#FFFFFF#000000##000000
##BA75EF1.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5291F3
Deuteranopia (green-blind)
#6794EC
Tritanopia (blue-blind)
#B38AA7
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ba75ef;
/* rgb */ color: rgb(186, 117, 239);
/* oklch */ color: oklch(68.5% 0.183 308.4);
Tailwind
colors: {
  custom: {
    50: '#d19ff5',
    500: '#ba75ef',
    950: '#000000',
  },
}
SCSS
$custom: #ba75ef;
$custom-light: #d19ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba75ef",
  "rgb": {
    "r": 186,
    "g": 117,
    "b": 239
  },
  "hsl": {
    "h": 273.934,
    "s": 79.221,
    "l": 69.804
  },
  "oklch": {
    "l": 0.6853,
    "c": 0.18328,
    "h": 308.4
  },
  "luminance": 0.29394
}

Semantic roles & 50–950 ramp

primary
#BA75EF
secondary
#DEF1CF
accent
#DC0A65
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#140F17
muted
#837E85

Preview Lab

Preview with #BA75EF

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

Preview Lab → · Contrast checker → · Palette generator →

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