#BA6DF1#BA6DF1

#BA6DF1 is a light, vivid violet. Relative luminance 0.277; OKLCH L 67.5% C 0.198 H 309.0°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#BA6DF1
RGBrgb(186, 109, 241)
HSLhsl(275, 83%, 69%)
HSVhsv(275, 55%, 95%)
CMYKcmyk(22.8%, 54.8%, 0%, 5.5%)
CIE-LABlab(59.64, 53.56, -54.72)
CIE-LCHlch(59.64, 76.57, 314.39°)
OKLaboklab(67.47% 0.1244 -0.1537)
OKLCHoklch(67.47% 0.198 309)
XYZxyz(41.5924, 27.7279, 86.3630)
Luminance0.2773 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6DF1 #A4F16D
analogous
#786DF1 #BA6DF1 #F16DE6
triadic
#BA6DF1 #F1BA6D #6DF1BA
tetradic
#BA6DF1 #F1786D #A4F16D #6DE6F1
square
#BA6DF1 #F1786D #A4F16D #6DE6F1
split-complementary
#BA6DF1 #E6F16D #6DF178
monochromatic
#8114D0 #A035EC #BA6DF1 #D4A5F6 #EFDDFC

Accessibility & contrast

On white

3.21
#BA6DF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#BA6DF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6DF1
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6DF1#FFFFFF#000000##000000
##BA6DF11.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#438CF5
Deuteranopia (green-blind)
#5E91EE
Tritanopia (blue-blind)
#B285A5
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ba6df1;
/* rgb */ color: rgb(186, 109, 241);
/* oklch */ color: oklch(67.5% 0.198 309.0);
Tailwind
colors: {
  custom: {
    50: '#d29af6',
    500: '#ba6df1',
    950: '#000000',
  },
}
SCSS
$custom: #ba6df1;
$custom-light: #d29af6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6df1",
  "rgb": {
    "r": 186,
    "g": 109,
    "b": 241
  },
  "hsl": {
    "h": 275,
    "s": 82.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.67469,
    "c": 0.19771,
    "h": 309
  },
  "luminance": 0.27727
}

Semantic roles & 50–950 ramp

primary
#BA6DF1
secondary
#DAF1C9
accent
#DF0761
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #BA6DF1

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

Preview Lab → · Contrast checker → · Palette generator →

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