#BA6DEB#BA6DEB

#BA6DEB is a light, vivid violet. Relative luminance 0.274; OKLCH L 67.1% C 0.191 H 310.5°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#BA6DEB
RGBrgb(186, 109, 235)
HSLhsl(277, 76%, 67%)
HSVhsv(277, 54%, 92%)
CMYKcmyk(20.9%, 53.6%, 0%, 7.8%)
CIE-LABlab(59.32, 52.25, -51.89)
CIE-LCHlch(59.32, 73.64, 315.19°)
OKLaboklab(67.13% 0.1241 -0.1454)
OKLCHoklch(67.13% 0.191 310.5)
XYZxyz(40.7109, 27.3753, 81.7205)
Luminance0.2737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6DEB #9EEB6D
analogous
#7B6DEB #BA6DEB #EB6DDD
triadic
#BA6DEB #EBBA6D #6DEBBA
tetradic
#BA6DEB #EB7B6D #9EEB6D #6DDDEB
square
#BA6DEB #EB7B6D #9EEB6D #6DDDEB
split-complementary
#BA6DEB #DDEB6D #6DEB7B
monochromatic
#811BC3 #A137E4 #BA6DEB #D3A3F2 #EDD9FA

Accessibility & contrast

On white

3.24
#BA6DEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#BA6DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6DEB
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6DEB#FFFFFF#000000##000000
##BA6DEB1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#488BEF
Deuteranopia (green-blind)
#6290E8
Tritanopia (blue-blind)
#B483A2
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ba6deb;
/* rgb */ color: rgb(186, 109, 235);
/* oklch */ color: oklch(67.1% 0.191 310.5);
Tailwind
colors: {
  custom: {
    50: '#d199f2',
    500: '#ba6deb',
    950: '#000000',
  },
}
SCSS
$custom: #ba6deb;
$custom-light: #d199f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6deb",
  "rgb": {
    "r": 186,
    "g": 109,
    "b": 235
  },
  "hsl": {
    "h": 276.667,
    "s": 75.904,
    "l": 67.451
  },
  "oklch": {
    "l": 0.67128,
    "c": 0.19115,
    "h": 310.5
  },
  "luminance": 0.27375
}

Semantic roles & 50–950 ramp

primary
#BA6DEB
secondary
#D6EEC6
accent
#D80D5C
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #BA6DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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