#BA75FF#BA75FF

#BA75FF is a light, highly saturated violet. Relative luminance 0.304; OKLCH L 69.4% C 0.201 H 304.8°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#BA75FF
RGBrgb(186, 117, 255)
HSLhsl(270, 100%, 73%)
HSVhsv(270, 54%, 100%)
CMYKcmyk(27.1%, 54.1%, 0%, 0%)
CIE-LABlab(61.98, 52.57, -58.71)
CIE-LCHlch(61.98, 78.81, 311.84°)
OKLaboklab(69.44% 0.1149 -0.1654)
OKLCHoklch(69.44% 0.201 304.8)
XYZxyz(44.6571, 30.3819, 98.1000)
Luminance0.3038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA75FF #BAFF75
analogous
#7575FF #BA75FF #FF75FF
triadic
#BA75FF #FFBA75 #75FFBA
tetradic
#BA75FF #FF7575 #BAFF75 #75FFFF
square
#BA75FF #FF7575 #BAFF75 #75FFFF
split-complementary
#BA75FF #FFFF75 #75FF75
monochromatic
#7D00FA #9B38FF #BA75FF #D9B2FF #F0E0FF

Accessibility & contrast

On white

2.97
#BA75FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#BA75FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA75FF
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA75FF#FFFFFF#000000##000000
##BA75FF1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4494FF
Deuteranopia (green-blind)
#5B96FC
Tritanopia (blue-blind)
#AE8FAF
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ba75ff;
/* rgb */ color: rgb(186, 117, 255);
/* oklch */ color: oklch(69.4% 0.201 304.8);
Tailwind
colors: {
  custom: {
    50: '#d29fff',
    500: '#ba75ff',
    950: '#000000',
  },
}
SCSS
$custom: #ba75ff;
$custom-light: #d29fff;
$custom-dark: #000000;
JSON
{
  "hex": "#ba75ff",
  "rgb": {
    "r": 186,
    "g": 117,
    "b": 255
  },
  "hsl": {
    "h": 270,
    "s": 100,
    "l": 72.941
  },
  "oklch": {
    "l": 0.69438,
    "c": 0.20141,
    "h": 304.8
  },
  "luminance": 0.30382
}

Semantic roles & 50–950 ramp

primary
#BA75FF
secondary
#E6F7D4
accent
#E60073
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140F18
muted
#837E86

Preview Lab

Preview with #BA75FF

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

Preview Lab → · Contrast checker → · Palette generator →

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