#BA75EA#BA75EA

#BA75EA is a light, vivid violet. Relative luminance 0.291; OKLCH L 68.3% C 0.178 H 309.7°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#BA75EA
RGBrgb(186, 117, 234)
HSLhsl(275, 74%, 69%)
HSVhsv(275, 50%, 92%)
CMYKcmyk(20.5%, 50%, 0%, 8.2%)
CIE-LABlab(60.87, 47.85, -48.87)
CIE-LCHlch(60.87, 68.40, 314.39°)
OKLaboklab(68.26% 0.1135 -0.1367)
OKLCHoklch(68.26% 0.178 309.7)
XYZxyz(41.4595, 29.1029, 81.2593)
Luminance0.2910 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA75EA #A5EA75
analogous
#8075EA #BA75EA #EA75DF
triadic
#BA75EA #EABA75 #75EABA
tetradic
#BA75EA #EA8075 #A5EA75 #75DFEA
square
#BA75EA #EA8075 #A5EA75 #75DFEA
split-complementary
#BA75EA #DFEA75 #75EA80
monochromatic
#811EC6 #9F40E2 #BA75EA #D5AAF2 #EFDFFA

Accessibility & contrast

On white

3.08
#BA75EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#BA75EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA75EA
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA75EA#FFFFFF#000000##000000
##BA75EA1.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5690EE
Deuteranopia (green-blind)
#6B94E7
Tritanopia (blue-blind)
#B489A5
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ba75ea;
/* rgb */ color: rgb(186, 117, 234);
/* oklch */ color: oklch(68.3% 0.178 309.7);
Tailwind
colors: {
  custom: {
    50: '#d19ff1',
    500: '#ba75ea',
    950: '#000000',
  },
}
SCSS
$custom: #ba75ea;
$custom-light: #d19ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba75ea",
  "rgb": {
    "r": 186,
    "g": 117,
    "b": 234
  },
  "hsl": {
    "h": 275.385,
    "s": 73.585,
    "l": 68.824
  },
  "oklch": {
    "l": 0.68258,
    "c": 0.17763,
    "h": 309.7
  },
  "luminance": 0.29102
}

Semantic roles & 50–950 ramp

primary
#BA75EA
secondary
#DAEFCC
accent
#D61061
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140F17
muted
#837E85

Preview Lab

Preview with #BA75EA

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

Preview Lab → · Contrast checker → · Palette generator →

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