#BA5CFA#BA5CFA

#BA5CFA is a light, highly saturated violet. Relative luminance 0.250; OKLCH L 65.8% C 0.231 H 308.7°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#BA5CFA
RGBrgb(186, 92, 250)
HSLhsl(276, 94%, 67%)
HSVhsv(276, 63%, 98%)
CMYKcmyk(25.6%, 63.2%, 0%, 2%)
CIE-LABlab(57.07, 63.83, -63.82)
CIE-LCHlch(57.07, 90.27, 315.00°)
OKLaboklab(65.76% 0.1446 -0.1803)
OKLCHoklch(65.76% 0.231 308.7)
XYZxyz(41.3287, 24.9962, 93.0715)
Luminance0.2500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5CFA #9CFA5C
analogous
#6B5CFA #BA5CFA #FA5CEB
triadic
#BA5CFA #FABA5C #5CFABA
tetradic
#BA5CFA #FA6B5C #9CFA5C #5CEBFA
square
#BA5CFA #FA6B5C #9CFA5C #5CEBFA
split-complementary
#BA5CFA #EBFA5C #5CFA6B
monochromatic
#8107D5 #A121F8 #BA5CFA #D397FC #ECD3FE

Accessibility & contrast

On white

3.50
#BA5CFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#BA5CFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5CFA
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5CFA#FFFFFF#000000##000000
##BA5CFA1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#428AF6
Tritanopia (blue-blind)
#B17CA3
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ba5cfa;
/* rgb */ color: rgb(186, 92, 250);
/* oklch */ color: oklch(65.8% 0.231 308.7);
Tailwind
colors: {
  custom: {
    50: '#d38ffd',
    500: '#ba5cfa',
    950: '#000000',
  },
}
SCSS
$custom: #ba5cfa;
$custom-light: #d38ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5cfa",
  "rgb": {
    "r": 186,
    "g": 92,
    "b": 250
  },
  "hsl": {
    "h": 275.696,
    "s": 94.048,
    "l": 67.059
  },
  "oklch": {
    "l": 0.65763,
    "c": 0.23114,
    "h": 308.7
  },
  "luminance": 0.24996
}

Semantic roles & 50–950 ramp

primary
#BA5CFA
secondary
#D4F2C0
accent
#E6005D
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#150D18
muted
#837E86

Preview Lab

Preview with #BA5CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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