#BA61FB#BA61FB

#BA61FB is a light, highly saturated violet. Relative luminance 0.260; OKLCH L 66.4% C 0.225 H 308.0°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#BA61FB
RGBrgb(186, 97, 251)
HSLhsl(275, 95%, 68%)
HSVhsv(275, 61%, 98%)
CMYKcmyk(25.9%, 61.4%, 0%, 1.6%)
CIE-LABlab(57.99, 61.70, -62.90)
CIE-LCHlch(57.99, 88.11, 314.45°)
OKLaboklab(66.45% 0.1389 -0.1776)
OKLCHoklch(66.45% 0.225 308)
XYZxyz(41.9334, 25.9541, 94.0487)
Luminance0.2595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA61FB #A2FB61
analogous
#6D61FB #BA61FB #FB61EF
triadic
#BA61FB #FBBA61 #61FBBA
tetradic
#BA61FB #FB6D61 #A2FB61 #61EFFB
square
#BA61FB #FB6D61 #A2FB61 #61EFFB
split-complementary
#BA61FB #EFFB61 #61FB6D
monochromatic
#8206DC #A025F9 #BA61FB #D49DFD #EED8FE

Accessibility & contrast

On white

3.39
#BA61FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#BA61FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA61FB
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA61FB#FFFFFF#000000##000000
##BA61FB1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0A88FF
Deuteranopia (green-blind)
#478CF7
Tritanopia (blue-blind)
#B080A5
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ba61fb;
/* rgb */ color: rgb(186, 97, 251);
/* oklch */ color: oklch(66.4% 0.225 308.0);
Tailwind
colors: {
  custom: {
    50: '#d392fd',
    500: '#ba61fb',
    950: '#000000',
  },
}
SCSS
$custom: #ba61fb;
$custom-light: #d392fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba61fb",
  "rgb": {
    "r": 186,
    "g": 97,
    "b": 251
  },
  "hsl": {
    "h": 274.675,
    "s": 95.062,
    "l": 68.235
  },
  "oklch": {
    "l": 0.66449,
    "c": 0.22548,
    "h": 308
  },
  "luminance": 0.25954
}

Semantic roles & 50–950 ramp

primary
#BA61FB
secondary
#D8F3C5
accent
#E60061
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#150D18
muted
#837E86

Preview Lab

Preview with #BA61FB

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

Preview Lab → · Contrast checker → · Palette generator →

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