#BA60FF#BA60FF

#BA60FF is a light, highly saturated violet. Relative luminance 0.260; OKLCH L 66.6% C 0.231 H 307.3°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#BA60FF
RGBrgb(186, 96, 255)
HSLhsl(274, 100%, 69%)
HSVhsv(274, 62%, 100%)
CMYKcmyk(27.1%, 62.4%, 0%, 0%)
CIE-LABlab(58.06, 63.05, -65.00)
CIE-LCHlch(58.06, 90.55, 314.13°)
OKLaboklab(66.58% 0.1399 -0.1838)
OKLCHoklch(66.58% 0.231 307.3)
XYZxyz(42.4788, 26.0254, 97.3739)
Luminance0.2602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA60FF #A5FF60
analogous
#6B60FF #BA60FF #FF60F5
triadic
#BA60FF #FFBA60 #60FFBA
tetradic
#BA60FF #FF6B60 #A5FF60 #60F5FF
square
#BA60FF #FF6B60 #A5FF60 #60F5FF
split-complementary
#BA60FF #F5FF60 #60FF6B
monochromatic
#8100E5 #9F23FF #BA60FF #D59DFF #EFDAFF

Accessibility & contrast

On white

3.38
#BA60FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#BA60FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA60FF
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA60FF#FFFFFF#000000##000000
##BA60FF1.003.386.206.20
#FFFFFF3.381.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0088FF
Deuteranopia (green-blind)
#418CFB
Tritanopia (blue-blind)
#AF81A7
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ba60ff;
/* rgb */ color: rgb(186, 96, 255);
/* oklch */ color: oklch(66.6% 0.231 307.3);
Tailwind
colors: {
  custom: {
    50: '#d392ff',
    500: '#ba60ff',
    950: '#000000',
  },
}
SCSS
$custom: #ba60ff;
$custom-light: #d392ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ba60ff",
  "rgb": {
    "r": 186,
    "g": 96,
    "b": 255
  },
  "hsl": {
    "h": 273.962,
    "s": 100,
    "l": 68.824
  },
  "oklch": {
    "l": 0.66576,
    "c": 0.23096,
    "h": 307.3
  },
  "luminance": 0.26025
}

Semantic roles & 50–950 ramp

primary
#BA60FF
secondary
#DAF5C6
accent
#E60064
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#150D18
muted
#837E86

Preview Lab

Preview with #BA60FF

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

Preview Lab → · Contrast checker → · Palette generator →

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