#BA6EDD#BA6EDD

#BA6EDD is a light, vivid purple. Relative luminance 0.268; OKLCH L 66.5% C 0.174 H 314.2°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#BA6EDD
RGBrgb(186, 110, 221)
HSLhsl(281, 62%, 65%)
HSVhsv(281, 50%, 87%)
CMYKcmyk(15.8%, 50.2%, 0%, 13.3%)
CIE-LABlab(58.80, 48.73, -44.89)
CIE-LCHlch(58.80, 66.26, 317.35°)
OKLaboklab(66.51% 0.1215 -0.125)
OKLCHoklch(66.51% 0.174 314.2)
XYZxyz(38.8747, 26.8124, 71.5201)
Luminance0.2681 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6EDD #91DD6E
analogous
#836EDD #BA6EDD #DD6EC9
triadic
#BA6EDD #DDBA6E #6EDDBA
tetradic
#BA6EDD #DD836E #91DD6E #6EC9DD
square
#BA6EDD #DD836E #91DD6E #6EC9DD
split-complementary
#BA6EDD #C9DD6E #6EDD83
monochromatic
#8028A9 #A23CD1 #BA6EDD #D2A0E9 #E9D1F4

Accessibility & contrast

On white

3.30
#BA6EDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#BA6EDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6EDD
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6EDD#FFFFFF#000000##000000
##BA6EDD1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5589E1
Deuteranopia (green-blind)
#6C8FDA
Tritanopia (blue-blind)
#B77F9B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ba6edd;
/* rgb */ color: rgb(186, 110, 221);
/* oklch */ color: oklch(66.5% 0.174 314.2);
Tailwind
colors: {
  custom: {
    50: '#d19ae8',
    500: '#ba6edd',
    950: '#000000',
  },
}
SCSS
$custom: #ba6edd;
$custom-light: #d19ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6edd",
  "rgb": {
    "r": 186,
    "g": 110,
    "b": 221
  },
  "hsl": {
    "h": 281.081,
    "s": 62.011,
    "l": 64.902
  },
  "oklch": {
    "l": 0.66511,
    "c": 0.17438,
    "h": 314.2
  },
  "luminance": 0.26811
}

Semantic roles & 50–950 ramp

primary
#BA6EDD
secondary
#CCE6C0
accent
#CA1C53
background
#FDF9FE
surface
#FAF2FC
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #BA6EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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