#BA55FF#BA55FF

#BA55FF is a light, highly saturated violet. Relative luminance 0.242; OKLCH L 65.3% C 0.245 H 308.3°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#BA55FF
RGBrgb(186, 85, 255)
HSLhsl(276, 100%, 67%)
HSVhsv(276, 67%, 100%)
CMYKcmyk(27.1%, 66.7%, 0%, 0%)
CIE-LABlab(56.24, 68.06, -67.92)
CIE-LCHlch(56.24, 96.15, 315.06°)
OKLaboklab(65.27% 0.1518 -0.1923)
OKLCHoklch(65.27% 0.245 308.3)
XYZxyz(41.5445, 24.1567, 97.0625)
Luminance0.2416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA55FF #9AFF55
analogous
#6555FF #BA55FF #FF55EF
triadic
#BA55FF #FFBA55 #55FFBA
tetradic
#BA55FF #FF6555 #9AFF55 #55EFFF
square
#BA55FF #FF6555 #9AFF55 #55EFFF
split-complementary
#BA55FF #EFFF55 #55FF65
monochromatic
#8100DA #A118FF #BA55FF #D392FF #ECCFFF

Accessibility & contrast

On white

3.60
#BA55FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#BA55FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA55FF
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA55FF#FFFFFF#000000##000000
##BA55FF1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FF
Deuteranopia (green-blind)
#3188FB
Tritanopia (blue-blind)
#AF7AA4
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ba55ff;
/* rgb */ color: rgb(186, 85, 255);
/* oklch */ color: oklch(65.3% 0.245 308.3);
Tailwind
colors: {
  custom: {
    50: '#d48cff',
    500: '#ba55ff',
    950: '#000000',
  },
}
SCSS
$custom: #ba55ff;
$custom-light: #d48cff;
$custom-dark: #000000;
JSON
{
  "hex": "#ba55ff",
  "rgb": {
    "r": 186,
    "g": 85,
    "b": 255
  },
  "hsl": {
    "h": 275.647,
    "s": 100,
    "l": 66.667
  },
  "oklch": {
    "l": 0.65268,
    "c": 0.24499,
    "h": 308.3
  },
  "luminance": 0.24156
}

Semantic roles & 50–950 ramp

primary
#BA55FF
secondary
#D3F3BD
accent
#E6005D
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150D18
muted
#837D86

Preview Lab

Preview with #BA55FF

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

Preview Lab → · Contrast checker → · Palette generator →

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