#BA75EC#BA75EC

#BA75EC is a light, vivid violet. Relative luminance 0.292; OKLCH L 68.4% C 0.180 H 309.2°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#BA75EC
RGBrgb(186, 117, 236)
HSLhsl(275, 76%, 69%)
HSVhsv(275, 50%, 93%)
CMYKcmyk(21.2%, 50.4%, 0%, 7.5%)
CIE-LABlab(60.97, 48.29, -49.82)
CIE-LCHlch(60.97, 69.39, 314.11°)
OKLaboklab(68.37% 0.1137 -0.1394)
OKLCHoklch(68.37% 0.18 309.2)
XYZxyz(41.7484, 29.2184, 82.7810)
Luminance0.2922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA75EC #A7EC75
analogous
#7F75EC #BA75EC #EC75E3
triadic
#BA75EC #ECBA75 #75ECBA
tetradic
#BA75EC #EC7F75 #A7EC75 #75E3EC
square
#BA75EC #EC7F75 #A7EC75 #75E3EC
split-complementary
#BA75EC #E3EC75 #75EC7F
monochromatic
#811CCB #9F3FE5 #BA75EC #D5ABF3 #F0E1FB

Accessibility & contrast

On white

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

On black

6.84
#BA75EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA75EC
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA75EC#FFFFFF#000000##000000
##BA75EC1.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5590F0
Deuteranopia (green-blind)
#6994E9
Tritanopia (blue-blind)
#B389A6
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ba75ec;
/* rgb */ color: rgb(186, 117, 236);
/* oklch */ color: oklch(68.4% 0.180 309.2);
Tailwind
colors: {
  custom: {
    50: '#d19ff2',
    500: '#ba75ec',
    950: '#000000',
  },
}
SCSS
$custom: #ba75ec;
$custom-light: #d19ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba75ec",
  "rgb": {
    "r": 186,
    "g": 117,
    "b": 236
  },
  "hsl": {
    "h": 274.79,
    "s": 75.796,
    "l": 69.216
  },
  "oklch": {
    "l": 0.68366,
    "c": 0.17989,
    "h": 309.2
  },
  "luminance": 0.29218
}

Semantic roles & 50–950 ramp

primary
#BA75EC
secondary
#DCF0CD
accent
#D80E63
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140F17
muted
#837E85

Preview Lab

Preview with #BA75EC

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

Preview Lab → · Contrast checker → · Palette generator →

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