#BA5EFD#BA5EFD

#BA5EFD is a light, highly saturated violet. Relative luminance 0.255; OKLCH L 66.2% C 0.232 H 307.9°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#BA5EFD
RGBrgb(186, 94, 253)
HSLhsl(275, 98%, 68%)
HSVhsv(275, 63%, 99%)
CMYKcmyk(26.5%, 62.8%, 0%, 0.8%)
CIE-LABlab(57.59, 63.55, -64.64)
CIE-LCHlch(57.59, 90.65, 314.51°)
OKLaboklab(66.2% 0.1422 -0.1827)
OKLCHoklch(66.2% 0.232 307.9)
XYZxyz(41.9784, 25.5369, 95.6272)
Luminance0.2554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5EFD #A1FD5E
analogous
#6A5EFD #BA5EFD #FD5EF0
triadic
#BA5EFD #FDBA5E #5EFDBA
tetradic
#BA5EFD #FD6A5E #A1FD5E #5EF0FD
square
#BA5EFD #FD6A5E #A1FD5E #5EF0FD
split-complementary
#BA5EFD #F0FD5E #5EFD6A
monochromatic
#8203DE #A022FC #BA5EFD #D49AFE #EED7FF

Accessibility & contrast

On white

3.44
#BA5EFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#BA5EFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5EFD
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5EFD#FFFFFF#000000##000000
##BA5EFD1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#418BF9
Tritanopia (blue-blind)
#B07FA5
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ba5efd;
/* rgb */ color: rgb(186, 94, 253);
/* oklch */ color: oklch(66.2% 0.232 307.9);
Tailwind
colors: {
  custom: {
    50: '#d391ff',
    500: '#ba5efd',
    950: '#000000',
  },
}
SCSS
$custom: #ba5efd;
$custom-light: #d391ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5efd",
  "rgb": {
    "r": 186,
    "g": 94,
    "b": 253
  },
  "hsl": {
    "h": 274.717,
    "s": 97.546,
    "l": 68.039
  },
  "oklch": {
    "l": 0.662,
    "c": 0.23155,
    "h": 307.9
  },
  "luminance": 0.25536
}

Semantic roles & 50–950 ramp

primary
#BA5EFD
secondary
#D8F4C3
accent
#E60061
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#150D18
muted
#837E86

Preview Lab

Preview with #BA5EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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