#BA60F2#BA60F2

#BA60F2 is a light, highly saturated violet. Relative luminance 0.252; OKLCH L 65.8% C 0.218 H 310.2°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#BA60F2
RGBrgb(186, 96, 242)
HSLhsl(277, 85%, 66%)
HSVhsv(277, 60%, 95%)
CMYKcmyk(23.1%, 60.3%, 0%, 5.1%)
CIE-LABlab(57.29, 60.23, -59.04)
CIE-LCHlch(57.29, 84.34, 315.57°)
OKLaboklab(65.77% 0.1403 -0.1663)
OKLCHoklch(65.77% 0.218 310.2)
XYZxyz(40.4565, 25.2165, 86.7232)
Luminance0.2522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA60F2 #98F260
analogous
#7160F2 #BA60F2 #F260E1
triadic
#BA60F2 #F2BA60 #60F2BA
tetradic
#BA60F2 #F27160 #98F260 #60E1F2
square
#BA60F2 #F27160 #98F260 #60E1F2
split-complementary
#BA60F2 #E1F260 #60F271
monochromatic
#8110C7 #A127ED #BA60F2 #D399F7 #EBD1FB

Accessibility & contrast

On white

3.47
#BA60F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#BA60F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA60F2
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA60F2#FFFFFF#000000##000000
##BA60F21.003.476.046.04
#FFFFFF3.471.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2285F7
Deuteranopia (green-blind)
#4F8BEF
Tritanopia (blue-blind)
#B37CA0
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ba60f2;
/* rgb */ color: rgb(186, 96, 242);
/* oklch */ color: oklch(65.8% 0.218 310.2);
Tailwind
colors: {
  custom: {
    50: '#d292f7',
    500: '#ba60f2',
    950: '#000000',
  },
}
SCSS
$custom: #ba60f2;
$custom-light: #d292f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba60f2",
  "rgb": {
    "r": 186,
    "g": 96,
    "b": 242
  },
  "hsl": {
    "h": 276.986,
    "s": 84.884,
    "l": 66.275
  },
  "oklch": {
    "l": 0.65765,
    "c": 0.21757,
    "h": 310.2
  },
  "luminance": 0.25216
}

Semantic roles & 50–950 ramp

primary
#BA60F2
secondary
#D1EFBF
accent
#E10459
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #BA60F2

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

Preview Lab → · Contrast checker → · Palette generator →

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