#BA53F0#BA53F0

#BA53F0 is a light, highly saturated violet. Relative luminance 0.229; OKLCH L 64.1% C 0.233 H 311.8°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#BA53F0
RGBrgb(186, 83, 240)
HSLhsl(279, 84%, 63%)
HSVhsv(279, 65%, 94%)
CMYKcmyk(22.5%, 65.4%, 0%, 5.9%)
CIE-LABlab(54.99, 65.78, -61.61)
CIE-LCHlch(54.99, 90.13, 316.88°)
OKLaboklab(64.07% 0.1551 -0.1737)
OKLCHoklch(64.07% 0.233 311.8)
XYZxyz(39.0682, 22.9179, 84.7867)
Luminance0.2292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA53F0 #89F053
analogous
#6B53F0 #BA53F0 #F053D7
triadic
#BA53F0 #F0BA53 #53F0BA
tetradic
#BA53F0 #F06B53 #89F053 #53D7F0
square
#BA53F0 #F06B53 #89F053 #53D7F0
split-complementary
#BA53F0 #D7F053 #53F06B
monochromatic
#7F10B9 #A31BEB #BA53F0 #D18BF5 #E7C4FA

Accessibility & contrast

On white

3.76
#BA53F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#BA53F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA53F0
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA53F0#FFFFFF#000000##000000
##BA53F01.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF5
Deuteranopia (green-blind)
#4386EC
Tritanopia (blue-blind)
#B4739B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ba53f0;
/* rgb */ color: rgb(186, 83, 240);
/* oklch */ color: oklch(64.1% 0.233 311.8);
Tailwind
colors: {
  custom: {
    50: '#d38af6',
    500: '#ba53f0',
    950: '#000000',
  },
}
SCSS
$custom: #ba53f0;
$custom-light: #d38af6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba53f0",
  "rgb": {
    "r": 186,
    "g": 83,
    "b": 240
  },
  "hsl": {
    "h": 279.363,
    "s": 83.957,
    "l": 63.333
  },
  "oklch": {
    "l": 0.64067,
    "c": 0.23292,
    "h": 311.8
  },
  "luminance": 0.22917
}

Semantic roles & 50–950 ramp

primary
#BA53F0
secondary
#C7EBB3
accent
#E00551
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#150C17
muted
#837D85

Preview Lab

Preview with #BA53F0

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

Preview Lab → · Contrast checker → · Palette generator →

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