#BA6BDD#BA6BDD

#BA6BDD is a light, vivid purple. Relative luminance 0.262; OKLCH L 66.1% C 0.179 H 314.5°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#BA6BDD
RGBrgb(186, 107, 221)
HSLhsl(282, 63%, 64%)
HSVhsv(282, 52%, 87%)
CMYKcmyk(15.8%, 51.6%, 0%, 13.3%)
CIE-LABlab(58.20, 50.29, -45.83)
CIE-LCHlch(58.20, 68.04, 317.65°)
OKLaboklab(66.07% 0.1256 -0.1278)
OKLCHoklch(66.07% 0.179 314.5)
XYZxyz(38.5564, 26.1760, 71.4140)
Luminance0.2617 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6BDD #8EDD6B
analogous
#816BDD #BA6BDD #DD6BC7
triadic
#BA6BDD #DDBA6B #6BDDBA
tetradic
#BA6BDD #DD816B #8EDD6B #6BC7DD
square
#BA6BDD #DD816B #8EDD6B #6BC7DD
split-complementary
#BA6BDD #C7DD6B #6BDD81
monochromatic
#8026A7 #A339D2 #BA6BDD #D19DE8 #E8CFF4

Accessibility & contrast

On white

3.37
#BA6BDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#BA6BDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6BDD
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6BDD#FFFFFF#000000##000000
##BA6BDD1.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5187E1
Deuteranopia (green-blind)
#698EDA
Tritanopia (blue-blind)
#B77D9A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ba6bdd;
/* rgb */ color: rgb(186, 107, 221);
/* oklch */ color: oklch(66.1% 0.179 314.5);
Tailwind
colors: {
  custom: {
    50: '#d198e8',
    500: '#ba6bdd',
    950: '#000000',
  },
}
SCSS
$custom: #ba6bdd;
$custom-light: #d198e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6bdd",
  "rgb": {
    "r": 186,
    "g": 107,
    "b": 221
  },
  "hsl": {
    "h": 281.579,
    "s": 62.637,
    "l": 64.314
  },
  "oklch": {
    "l": 0.6607,
    "c": 0.17915,
    "h": 314.5
  },
  "luminance": 0.26175
}

Semantic roles & 50–950 ramp

primary
#BA6BDD
secondary
#CAE6BE
accent
#CA1B51
background
#FDF9FE
surface
#FAF2FC
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #BA6BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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