#BA75FD#BA75FD

#BA75FD is a light, vivid violet. Relative luminance 0.303; OKLCH L 69.3% C 0.199 H 305.2°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#BA75FD
RGBrgb(186, 117, 253)
HSLhsl(270, 97%, 73%)
HSVhsv(270, 54%, 99%)
CMYKcmyk(26.5%, 53.8%, 0%, 0.8%)
CIE-LABlab(61.87, 52.12, -57.79)
CIE-LCHlch(61.87, 77.82, 312.04°)
OKLaboklab(69.32% 0.1148 -0.1627)
OKLCHoklch(69.32% 0.199 305.2)
XYZxyz(44.3368, 30.2538, 96.4133)
Luminance0.3025 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA75FD #B8FD75
analogous
#7675FD #BA75FD #FD75FC
triadic
#BA75FD #FDBA75 #75FDBA
tetradic
#BA75FD #FD7675 #B8FD75 #75FCFD
square
#BA75FD #FD7675 #B8FD75 #75FCFD
split-complementary
#BA75FD #FCFD75 #75FD76
monochromatic
#7E04F4 #9C39FC #BA75FD #D8B1FE #F0E1FF

Accessibility & contrast

On white

2.98
#BA75FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#BA75FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA75FD
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA75FD#FFFFFF#000000##000000
##BA75FD1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4693FF
Deuteranopia (green-blind)
#5D96FA
Tritanopia (blue-blind)
#AF8EAE
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ba75fd;
/* rgb */ color: rgb(186, 117, 253);
/* oklch */ color: oklch(69.3% 0.199 305.2);
Tailwind
colors: {
  custom: {
    50: '#d29fff',
    500: '#ba75fd',
    950: '#000000',
  },
}
SCSS
$custom: #ba75fd;
$custom-light: #d29fff;
$custom-dark: #000000;
JSON
{
  "hex": "#ba75fd",
  "rgb": {
    "r": 186,
    "g": 117,
    "b": 253
  },
  "hsl": {
    "h": 270.441,
    "s": 97.143,
    "l": 72.549
  },
  "oklch": {
    "l": 0.69321,
    "c": 0.19915,
    "h": 305.2
  },
  "luminance": 0.30254
}

Semantic roles & 50–950 ramp

primary
#BA75FD
secondary
#E5F7D4
accent
#E60071
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140F18
muted
#837E86

Preview Lab

Preview with #BA75FD

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

Preview Lab → · Contrast checker → · Palette generator →

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