#BA60FD#BA60FD

#BA60FD is a light, highly saturated violet. Relative luminance 0.259; OKLCH L 66.4% C 0.229 H 307.7°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#BA60FD
RGBrgb(186, 96, 253)
HSLhsl(274, 98%, 68%)
HSVhsv(274, 62%, 99%)
CMYKcmyk(26.5%, 62.1%, 0%, 0.8%)
CIE-LABlab(57.94, 62.61, -64.09)
CIE-LCHlch(57.94, 89.60, 314.33°)
OKLaboklab(66.45% 0.14 -0.1811)
OKLCHoklch(66.45% 0.229 307.7)
XYZxyz(42.1585, 25.8973, 95.6872)
Luminance0.2590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA60FD #A3FD60
analogous
#6B60FD #BA60FD #FD60F1
triadic
#BA60FD #FDBA60 #60FDBA
tetradic
#BA60FD #FD6B60 #A3FD60 #60F1FD
square
#BA60FD #FD6B60 #A3FD60 #60F1FD
split-complementary
#BA60FD #F1FD60 #60FD6B
monochromatic
#8103E0 #A024FC #BA60FD #D49CFE #EED9FF

Accessibility & contrast

On white

3.40
#BA60FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#BA60FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA60FD
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA60FD#FFFFFF#000000##000000
##BA60FD1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0088FF
Deuteranopia (green-blind)
#448CF9
Tritanopia (blue-blind)
#B080A6
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ba60fd;
/* rgb */ color: rgb(186, 96, 253);
/* oklch */ color: oklch(66.4% 0.229 307.7);
Tailwind
colors: {
  custom: {
    50: '#d392ff',
    500: '#ba60fd',
    950: '#000000',
  },
}
SCSS
$custom: #ba60fd;
$custom-light: #d392ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ba60fd",
  "rgb": {
    "r": 186,
    "g": 96,
    "b": 253
  },
  "hsl": {
    "h": 274.395,
    "s": 97.516,
    "l": 68.431
  },
  "oklch": {
    "l": 0.66449,
    "c": 0.2289,
    "h": 307.7
  },
  "luminance": 0.25897
}

Semantic roles & 50–950 ramp

primary
#BA60FD
secondary
#D9F4C5
accent
#E60062
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#150D18
muted
#837E86

Preview Lab

Preview with #BA60FD

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

Preview Lab → · Contrast checker → · Palette generator →

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