#BA76FD#BA76FD

#BA76FD is a light, vivid violet. Relative luminance 0.305; OKLCH L 69.5% C 0.198 H 305.1°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#BA76FD
RGBrgb(186, 118, 253)
HSLhsl(270, 97%, 73%)
HSVhsv(270, 53%, 99%)
CMYKcmyk(26.5%, 53.4%, 0%, 0.8%)
CIE-LABlab(62.07, 51.59, -57.47)
CIE-LCHlch(62.07, 77.23, 311.92°)
OKLaboklab(69.47% 0.1136 -0.1618)
OKLCHoklch(69.47% 0.198 305.1)
XYZxyz(44.4540, 30.4881, 96.4523)
Luminance0.3049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA76FD #B9FD76
analogous
#7676FD #BA76FD #FD76FD
triadic
#BA76FD #FDBA76 #76FDBA
tetradic
#BA76FD #FD7676 #B9FD76 #76FDFD
square
#BA76FD #FD7676 #B9FD76 #76FDFD
split-complementary
#BA76FD #FDFD76 #76FD76
monochromatic
#7D04F5 #9C3AFC #BA76FD #D8B2FE #F0E1FF

Accessibility & contrast

On white

2.96
#BA76FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#BA76FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA76FD
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA76FD#FFFFFF#000000##000000
##BA76FD1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4894FF
Deuteranopia (green-blind)
#5E96FA
Tritanopia (blue-blind)
#AF8FAF
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ba76fd;
/* rgb */ color: rgb(186, 118, 253);
/* oklch */ color: oklch(69.5% 0.198 305.1);
Tailwind
colors: {
  custom: {
    50: '#d2a0ff',
    500: '#ba76fd',
    950: '#000000',
  },
}
SCSS
$custom: #ba76fd;
$custom-light: #d2a0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ba76fd",
  "rgb": {
    "r": 186,
    "g": 118,
    "b": 253
  },
  "hsl": {
    "h": 270.222,
    "s": 97.122,
    "l": 72.745
  },
  "oklch": {
    "l": 0.69469,
    "c": 0.19767,
    "h": 305.1
  },
  "luminance": 0.30488
}

Semantic roles & 50–950 ramp

primary
#BA76FD
secondary
#E5F7D4
accent
#E60072
background
#FDFAFF
surface
#FAF3FF
border
#D3CDD7
text
#140F18
muted
#837F86

Preview Lab

Preview with #BA76FD

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

Preview Lab → · Contrast checker → · Palette generator →

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