#BA75ED#BA75ED

#BA75ED is a light, vivid violet. Relative luminance 0.293; OKLCH L 68.4% C 0.181 H 308.9°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#BA75ED
RGBrgb(186, 117, 237)
HSLhsl(275, 77%, 69%)
HSVhsv(275, 51%, 93%)
CMYKcmyk(21.5%, 50.6%, 0%, 7.1%)
CIE-LABlab(61.03, 48.51, -50.30)
CIE-LCHlch(61.03, 69.88, 313.96°)
OKLaboklab(68.42% 0.1137 -0.1408)
OKLCHoklch(68.42% 0.181 308.9)
XYZxyz(41.8941, 29.2767, 83.5483)
Luminance0.2928 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA75ED #A8ED75
analogous
#7E75ED #BA75ED #ED75E4
triadic
#BA75ED #EDBA75 #75EDBA
tetradic
#BA75ED #ED7E75 #A8ED75 #75E4ED
square
#BA75ED #ED7E75 #A8ED75 #75E4ED
split-complementary
#BA75ED #E4ED75 #75ED7E
monochromatic
#811BCD #9F3FE6 #BA75ED #D5ABF4 #F0E1FB

Accessibility & contrast

On white

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

On black

6.86
#BA75ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA75ED
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA75ED#FFFFFF#000000##000000
##BA75ED1.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5490F1
Deuteranopia (green-blind)
#6994EA
Tritanopia (blue-blind)
#B389A6
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ba75ed;
/* rgb */ color: rgb(186, 117, 237);
/* oklch */ color: oklch(68.4% 0.181 308.9);
Tailwind
colors: {
  custom: {
    50: '#d19ff3',
    500: '#ba75ed',
    950: '#000000',
  },
}
SCSS
$custom: #ba75ed;
$custom-light: #d19ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba75ed",
  "rgb": {
    "r": 186,
    "g": 117,
    "b": 237
  },
  "hsl": {
    "h": 274.5,
    "s": 76.923,
    "l": 69.412
  },
  "oklch": {
    "l": 0.68421,
    "c": 0.18102,
    "h": 308.9
  },
  "luminance": 0.29276
}

Semantic roles & 50–950 ramp

primary
#BA75ED
secondary
#DCF0CE
accent
#D90C63
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140F17
muted
#837E85

Preview Lab

Preview with #BA75ED

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

Preview Lab → · Contrast checker → · Palette generator →

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