#BA53F9#BA53F9

#BA53F9 is a light, highly saturated violet. Relative luminance 0.235; OKLCH L 64.6% C 0.242 H 309.7°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#BA53F9
RGBrgb(186, 83, 249)
HSLhsl(277, 93%, 65%)
HSVhsv(277, 67%, 98%)
CMYKcmyk(25.3%, 66.7%, 0%, 2.4%)
CIE-LABlab(55.55, 67.66, -65.72)
CIE-LCHlch(55.55, 94.32, 315.83°)
OKLaboklab(64.65% 0.1544 -0.1858)
OKLCHoklch(64.65% 0.242 309.7)
XYZxyz(40.4385, 23.4660, 92.0033)
Luminance0.2346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA53F9 #92F953
analogous
#6753F9 #BA53F9 #F953E5
triadic
#BA53F9 #F9BA53 #53F9BA
tetradic
#BA53F9 #F96753 #92F953 #53E5F9
square
#BA53F9 #F96753 #92F953 #53E5F9
split-complementary
#BA53F9 #E5F953 #53F967
monochromatic
#8007CB #A218F7 #BA53F9 #D28EFB #E9C9FD

Accessibility & contrast

On white

3.69
#BA53F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#BA53F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA53F9
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA53F9#FFFFFF#000000##000000
##BA53F91.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FE
Deuteranopia (green-blind)
#3787F5
Tritanopia (blue-blind)
#B176A0
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ba53f9;
/* rgb */ color: rgb(186, 83, 249);
/* oklch */ color: oklch(64.6% 0.242 309.7);
Tailwind
colors: {
  custom: {
    50: '#d38afc',
    500: '#ba53f9',
    950: '#000000',
  },
}
SCSS
$custom: #ba53f9;
$custom-light: #d38afc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba53f9",
  "rgb": {
    "r": 186,
    "g": 83,
    "b": 249
  },
  "hsl": {
    "h": 277.229,
    "s": 93.258,
    "l": 65.098
  },
  "oklch": {
    "l": 0.64649,
    "c": 0.24161,
    "h": 309.7
  },
  "luminance": 0.23465
}

Semantic roles & 50–950 ramp

primary
#BA53F9
secondary
#CDF0B8
accent
#E60057
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150C18
muted
#837D86

Preview Lab

Preview with #BA53F9

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

Preview Lab → · Contrast checker → · Palette generator →

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