#BA75EB#BA75EB

#BA75EB is a light, vivid violet. Relative luminance 0.292; OKLCH L 68.3% C 0.179 H 309.4°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#BA75EB
RGBrgb(186, 117, 235)
HSLhsl(275, 75%, 69%)
HSVhsv(275, 50%, 92%)
CMYKcmyk(20.9%, 50.2%, 0%, 7.8%)
CIE-LABlab(60.92, 48.07, -49.35)
CIE-LCHlch(60.92, 68.89, 314.25°)
OKLaboklab(68.31% 0.1136 -0.138)
OKLCHoklch(68.31% 0.179 309.4)
XYZxyz(41.6035, 29.1605, 82.0180)
Luminance0.2916 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA75EB #A6EB75
analogous
#7F75EB #BA75EB #EB75E1
triadic
#BA75EB #EBBA75 #75EBBA
tetradic
#BA75EB #EB7F75 #A6EB75 #75E1EB
square
#BA75EB #EB7F75 #A6EB75 #75E1EB
split-complementary
#BA75EB #E1EB75 #75EB7F
monochromatic
#811DC9 #9F40E3 #BA75EB #D5AAF3 #EFE0FA

Accessibility & contrast

On white

3.07
#BA75EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#BA75EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA75EB
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA75EB#FFFFFF#000000##000000
##BA75EB1.003.076.836.83
#FFFFFF3.071.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5590EF
Deuteranopia (green-blind)
#6A94E8
Tritanopia (blue-blind)
#B489A5
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ba75eb;
/* rgb */ color: rgb(186, 117, 235);
/* oklch */ color: oklch(68.3% 0.179 309.4);
Tailwind
colors: {
  custom: {
    50: '#d19ff2',
    500: '#ba75eb',
    950: '#000000',
  },
}
SCSS
$custom: #ba75eb;
$custom-light: #d19ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba75eb",
  "rgb": {
    "r": 186,
    "g": 117,
    "b": 235
  },
  "hsl": {
    "h": 275.085,
    "s": 74.684,
    "l": 69.02
  },
  "oklch": {
    "l": 0.68312,
    "c": 0.17876,
    "h": 309.4
  },
  "luminance": 0.2916
}

Semantic roles & 50–950 ramp

primary
#BA75EB
secondary
#DBEFCD
accent
#D70F62
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140F17
muted
#837E85

Preview Lab

Preview with #BA75EB

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

Preview Lab → · Contrast checker → · Palette generator →

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