#BA6EFD#BA6EFD

#BA6EFD is a light, highly saturated violet. Relative luminance 0.287; OKLCH L 68.3% C 0.209 H 306.1°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#BA6EFD
RGBrgb(186, 110, 253)
HSLhsl(272, 97%, 71%)
HSVhsv(272, 57%, 99%)
CMYKcmyk(26.5%, 56.5%, 0%, 0.8%)
CIE-LABlab(60.50, 55.73, -59.98)
CIE-LCHlch(60.50, 81.87, 312.89°)
OKLaboklab(68.31% 0.1235 -0.1691)
OKLCHoklch(68.31% 0.209 306.1)
XYZxyz(43.5515, 28.6832, 96.1515)
Luminance0.2868 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6EFD #B1FD6E
analogous
#726EFD #BA6EFD #FD6EF9
triadic
#BA6EFD #FDBA6E #6EFDBA
tetradic
#BA6EFD #FD726E #B1FD6E #6EF9FD
square
#BA6EFD #FD726E #B1FD6E #6EF9FD
split-complementary
#BA6EFD #F9FD6E #6EFD72
monochromatic
#8003ED #9D32FC #BA6EFD #D7AAFE #F1E1FF

Accessibility & contrast

On white

3.12
#BA6EFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#BA6EFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6EFD
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6EFD#FFFFFF#000000##000000
##BA6EFD1.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#378FFF
Deuteranopia (green-blind)
#5592FA
Tritanopia (blue-blind)
#AF89AB
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ba6efd;
/* rgb */ color: rgb(186, 110, 253);
/* oklch */ color: oklch(68.3% 0.209 306.1);
Tailwind
colors: {
  custom: {
    50: '#d29aff',
    500: '#ba6efd',
    950: '#000000',
  },
}
SCSS
$custom: #ba6efd;
$custom-light: #d29aff;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6efd",
  "rgb": {
    "r": 186,
    "g": 110,
    "b": 253
  },
  "hsl": {
    "h": 271.888,
    "s": 97.279,
    "l": 71.176
  },
  "oklch": {
    "l": 0.68314,
    "c": 0.20939,
    "h": 306.1
  },
  "luminance": 0.28683
}

Semantic roles & 50–950 ramp

primary
#BA6EFD
secondary
#E2F6D1
accent
#E6006C
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #BA6EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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