#BA6EEF#BA6EEF

#BA6EEF is a light, vivid violet. Relative luminance 0.278; OKLCH L 67.5% C 0.194 H 309.3°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#BA6EEF
RGBrgb(186, 110, 239)
HSLhsl(275, 80%, 68%)
HSVhsv(275, 54%, 94%)
CMYKcmyk(22.2%, 54%, 0%, 6.3%)
CIE-LABlab(59.73, 52.61, -53.47)
CIE-LCHlch(59.73, 75.01, 314.53°)
OKLaboklab(67.5% 0.123 -0.15)
OKLCHoklch(67.5% 0.194 309.3)
XYZxyz(41.4026, 27.8236, 84.8340)
Luminance0.2782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6EEF #A3EF6E
analogous
#796EEF #BA6EEF #EF6EE3
triadic
#BA6EEF #EFBA6E #6EEFBA
tetradic
#BA6EEF #EF796E #A3EF6E #6EE3EF
square
#BA6EEF #EF796E #A3EF6E #6EE3EF
split-complementary
#BA6EEF #E3EF6E #6EEF79
monochromatic
#8117CC #A037E9 #BA6EEF #D4A5F5 #EEDCFB

Accessibility & contrast

On white

3.20
#BA6EEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#BA6EEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6EEF
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6EEF#FFFFFF#000000##000000
##BA6EEF1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#468DF3
Deuteranopia (green-blind)
#6091EC
Tritanopia (blue-blind)
#B385A4
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ba6eef;
/* rgb */ color: rgb(186, 110, 239);
/* oklch */ color: oklch(67.5% 0.194 309.3);
Tailwind
colors: {
  custom: {
    50: '#d29af5',
    500: '#ba6eef',
    950: '#000000',
  },
}
SCSS
$custom: #ba6eef;
$custom-light: #d29af5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6eef",
  "rgb": {
    "r": 186,
    "g": 110,
    "b": 239
  },
  "hsl": {
    "h": 275.349,
    "s": 80.124,
    "l": 68.431
  },
  "oklch": {
    "l": 0.67498,
    "c": 0.19401,
    "h": 309.3
  },
  "luminance": 0.27823
}

Semantic roles & 50–950 ramp

primary
#BA6EEF
secondary
#D9F0C9
accent
#DC0960
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#140E17
muted
#837E85

Preview Lab

Preview with #BA6EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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