#BA6DED#BA6DED

#BA6DED is a light, vivid violet. Relative luminance 0.275; OKLCH L 67.2% C 0.193 H 310.0°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#BA6DED
RGBrgb(186, 109, 237)
HSLhsl(276, 78%, 68%)
HSVhsv(276, 54%, 93%)
CMYKcmyk(21.5%, 54%, 0%, 7.1%)
CIE-LABlab(59.43, 52.68, -52.84)
CIE-LCHlch(59.43, 74.61, 314.92°)
OKLaboklab(67.24% 0.1242 -0.1482)
OKLCHoklch(67.24% 0.193 310)
XYZxyz(41.0015, 27.4915, 83.2508)
Luminance0.2749 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6DED #A0ED6D
analogous
#7A6DED #BA6DED #ED6DE0
triadic
#BA6DED #EDBA6D #6DEDBA
tetradic
#BA6DED #ED7A6D #A0ED6D #6DE0ED
square
#BA6DED #ED7A6D #A0ED6D #6DE0ED
split-complementary
#BA6DED #E0ED6D #6DED7A
monochromatic
#8219C7 #A037E6 #BA6DED #D4A3F4 #EDDAFA

Accessibility & contrast

On white

3.23
#BA6DED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#BA6DED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6DED
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6DED#FFFFFF#000000##000000
##BA6DED1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#478CF1
Deuteranopia (green-blind)
#6190EA
Tritanopia (blue-blind)
#B383A3
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ba6ded;
/* rgb */ color: rgb(186, 109, 237);
/* oklch */ color: oklch(67.2% 0.193 310.0);
Tailwind
colors: {
  custom: {
    50: '#d299f3',
    500: '#ba6ded',
    950: '#000000',
  },
}
SCSS
$custom: #ba6ded;
$custom-light: #d299f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6ded",
  "rgb": {
    "r": 186,
    "g": 109,
    "b": 237
  },
  "hsl": {
    "h": 276.094,
    "s": 78.049,
    "l": 67.843
  },
  "oklch": {
    "l": 0.67241,
    "c": 0.19334,
    "h": 310
  },
  "luminance": 0.27491
}

Semantic roles & 50–950 ramp

primary
#BA6DED
secondary
#D7EFC7
accent
#DA0B5E
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #BA6DED

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

Preview Lab → · Contrast checker → · Palette generator →

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