#BA75F7#BA75F7

#BA75F7 is a light, vivid violet. Relative luminance 0.299; OKLCH L 69.0% C 0.192 H 306.5°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#BA75F7
RGBrgb(186, 117, 247)
HSLhsl(272, 89%, 71%)
HSVhsv(272, 53%, 97%)
CMYKcmyk(24.7%, 52.6%, 0%, 3.1%)
CIE-LABlab(61.55, 50.75, -55.00)
CIE-LCHlch(61.55, 74.84, 312.70°)
OKLaboklab(68.98% 0.1145 -0.1545)
OKLCHoklch(68.98% 0.192 306.5)
XYZxyz(43.3960, 29.8775, 91.4584)
Luminance0.2988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA75F7 #B2F775
analogous
#7975F7 #BA75F7 #F775F3
triadic
#BA75F7 #F7BA75 #75F7BA
tetradic
#BA75F7 #F77975 #B2F775 #75F3F7
square
#BA75F7 #F77975 #B2F775 #75F3F7
split-complementary
#BA75F7 #F3F775 #75F779
monochromatic
#7F0DE4 #9D3BF4 #BA75F7 #D7AFFA #F1E2FD

Accessibility & contrast

On white

3.01
#BA75F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#BA75F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA75F7
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA75F7#FFFFFF#000000##000000
##BA75F71.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C92FB
Deuteranopia (green-blind)
#6295F4
Tritanopia (blue-blind)
#B08DAB
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ba75f7;
/* rgb */ color: rgb(186, 117, 247);
/* oklch */ color: oklch(69.0% 0.192 306.5);
Tailwind
colors: {
  custom: {
    50: '#d29ffa',
    500: '#ba75f7',
    950: '#000000',
  },
}
SCSS
$custom: #ba75f7;
$custom-light: #d29ffa;
$custom-dark: #000000;
JSON
{
  "hex": "#ba75f7",
  "rgb": {
    "r": 186,
    "g": 117,
    "b": 247
  },
  "hsl": {
    "h": 271.846,
    "s": 89.041,
    "l": 71.373
  },
  "oklch": {
    "l": 0.68977,
    "c": 0.19234,
    "h": 306.5
  },
  "luminance": 0.29877
}

Semantic roles & 50–950 ramp

primary
#BA75F7
secondary
#E3F5D3
accent
#E6006C
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140F17
muted
#837E85

Preview Lab

Preview with #BA75F7

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

Preview Lab → · Contrast checker → · Palette generator →

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