#BA75F8#BA75F8

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

Color values

HEX#BA75F8
RGBrgb(186, 117, 248)
HSLhsl(272, 90%, 72%)
HSVhsv(272, 53%, 97%)
CMYKcmyk(25%, 52.8%, 0%, 2.7%)
CIE-LABlab(61.60, 50.98, -55.47)
CIE-LCHlch(61.60, 75.34, 312.58°)
OKLaboklab(69.03% 0.1146 -0.1559)
OKLCHoklch(69.03% 0.193 306.3)
XYZxyz(43.5507, 29.9394, 92.2733)
Luminance0.2994 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA75F8 #B3F875
analogous
#7975F8 #BA75F8 #F875F5
triadic
#BA75F8 #F8BA75 #75F8BA
tetradic
#BA75F8 #F87975 #B3F875 #75F5F8
square
#BA75F8 #F87975 #B3F875 #75F5F8
split-complementary
#BA75F8 #F5F875 #75F879
monochromatic
#7F0CE7 #9D3BF5 #BA75F8 #D7AFFB #F0E2FE

Accessibility & contrast

On white

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

On black

6.99
#BA75F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA75F8
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA75F8#FFFFFF#000000##000000
##BA75F81.003.016.996.99
#FFFFFF3.011.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B92FC
Deuteranopia (green-blind)
#6195F5
Tritanopia (blue-blind)
#B08DAC
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ba75f8;
/* rgb */ color: rgb(186, 117, 248);
/* oklch */ color: oklch(69.0% 0.193 306.3);
Tailwind
colors: {
  custom: {
    50: '#d29ffb',
    500: '#ba75f8',
    950: '#000000',
  },
}
SCSS
$custom: #ba75f8;
$custom-light: #d29ffb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba75f8",
  "rgb": {
    "r": 186,
    "g": 117,
    "b": 248
  },
  "hsl": {
    "h": 271.603,
    "s": 90.345,
    "l": 71.569
  },
  "oklch": {
    "l": 0.69034,
    "c": 0.19349,
    "h": 306.3
  },
  "luminance": 0.29939
}

Semantic roles & 50–950 ramp

primary
#BA75F8
secondary
#E4F5D4
accent
#E6006D
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140F17
muted
#837E85

Preview Lab

Preview with #BA75F8

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

Preview Lab → · Contrast checker → · Palette generator →

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