#BA75EE#BA75EE

#BA75EE is a light, vivid violet. Relative luminance 0.293; OKLCH L 68.5% C 0.182 H 308.7°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#BA75EE
RGBrgb(186, 117, 238)
HSLhsl(274, 78%, 70%)
HSVhsv(274, 51%, 93%)
CMYKcmyk(21.8%, 50.8%, 0%, 6.7%)
CIE-LABlab(61.08, 48.73, -50.77)
CIE-LCHlch(61.08, 70.38, 313.83°)
OKLaboklab(68.47% 0.1138 -0.1422)
OKLCHoklch(68.47% 0.182 308.7)
XYZxyz(42.0406, 29.3353, 84.3199)
Luminance0.2933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA75EE #A9EE75
analogous
#7E75EE #BA75EE #EE75E6
triadic
#BA75EE #EEBA75 #75EEBA
tetradic
#BA75EE #EE7E75 #A9EE75 #75E6EE
square
#BA75EE #EE7E75 #A9EE75 #75E6EE
split-complementary
#BA75EE #E6EE75 #75EE7E
monochromatic
#811ACF #9F3FE7 #BA75EE #D5ABF5 #F0E2FB

Accessibility & contrast

On white

3.06
#BA75EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#BA75EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA75EE
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA75EE#FFFFFF#000000##000000
##BA75EE1.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5390F2
Deuteranopia (green-blind)
#6894EB
Tritanopia (blue-blind)
#B38AA7
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ba75ee;
/* rgb */ color: rgb(186, 117, 238);
/* oklch */ color: oklch(68.5% 0.182 308.7);
Tailwind
colors: {
  custom: {
    50: '#d19ff4',
    500: '#ba75ee',
    950: '#000000',
  },
}
SCSS
$custom: #ba75ee;
$custom-light: #d19ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba75ee",
  "rgb": {
    "r": 186,
    "g": 117,
    "b": 238
  },
  "hsl": {
    "h": 274.215,
    "s": 78.065,
    "l": 69.608
  },
  "oklch": {
    "l": 0.68475,
    "c": 0.18215,
    "h": 308.7
  },
  "luminance": 0.29335
}

Semantic roles & 50–950 ramp

primary
#BA75EE
secondary
#DDF1CE
accent
#DA0B64
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140F17
muted
#837E85

Preview Lab

Preview with #BA75EE

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

Preview Lab → · Contrast checker → · Palette generator →

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