#BA4BFC#BA4BFC

#BA4BFC is a light, highly saturated violet. Relative luminance 0.225; OKLCH L 64.0% C 0.254 H 309.7°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#BA4BFC
RGBrgb(186, 75, 252)
HSLhsl(278, 97%, 64%)
HSVhsv(278, 70%, 99%)
CMYKcmyk(26.2%, 70.2%, 0%, 1.2%)
CIE-LABlab(54.55, 71.62, -68.99)
CIE-LCHlch(54.55, 99.44, 316.07°)
OKLaboklab(64% 0.1621 -0.1954)
OKLCHoklch(64% 0.254 309.7)
XYZxyz(40.3330, 22.5003, 94.2949)
Luminance0.2250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4BFC #8DFC4B
analogous
#624BFC #BA4BFC #FC4BE6
triadic
#BA4BFC #FCBA4B #4BFCBA
tetradic
#BA4BFC #FC624B #8DFC4B #4BE6FC
square
#BA4BFC #FC624B #8DFC4B #4BE6FC
split-complementary
#BA4BFC #E6FC4B #4BFC62
monochromatic
#7F03C9 #A30FFB #BA4BFC #D187FD #E8C3FE

Accessibility & contrast

On white

3.82
#BA4BFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#BA4BFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4BFC
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4BFC#FFFFFF#000000##000000
##BA4BFC1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFF
Deuteranopia (green-blind)
#2684F8
Tritanopia (blue-blind)
#B1739F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ba4bfc;
/* rgb */ color: rgb(186, 75, 252);
/* oklch */ color: oklch(64.0% 0.254 309.7);
Tailwind
colors: {
  custom: {
    50: '#d486fe',
    500: '#ba4bfc',
    950: '#000000',
  },
}
SCSS
$custom: #ba4bfc;
$custom-light: #d486fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4bfc",
  "rgb": {
    "r": 186,
    "g": 75,
    "b": 252
  },
  "hsl": {
    "h": 277.627,
    "s": 96.721,
    "l": 64.118
  },
  "oklch": {
    "l": 0.64,
    "c": 0.25387,
    "h": 309.7
  },
  "luminance": 0.225
}

Semantic roles & 50–950 ramp

primary
#BA4BFC
secondary
#CAF0B3
accent
#E60056
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150C18
muted
#837D86

Preview Lab

Preview with #BA4BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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