#BA6EDE#BA6EDE

#BA6EDE is a light, vivid purple. Relative luminance 0.269; OKLCH L 66.6% C 0.175 H 313.9°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#BA6EDE
RGBrgb(186, 110, 222)
HSLhsl(281, 63%, 65%)
HSVhsv(281, 50%, 87%)
CMYKcmyk(16.2%, 50.5%, 0%, 12.9%)
CIE-LABlab(58.85, 48.94, -45.37)
CIE-LCHlch(58.85, 66.74, 317.17°)
OKLaboklab(66.56% 0.1216 -0.1264)
OKLCHoklch(66.56% 0.175 313.9)
XYZxyz(39.0083, 26.8659, 72.2238)
Luminance0.2686 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6EDE #92DE6E
analogous
#826EDE #BA6EDE #DE6ECA
triadic
#BA6EDE #DEBA6E #6EDEBA
tetradic
#BA6EDE #DE826E #92DE6E #6ECADE
square
#BA6EDE #DE826E #92DE6E #6ECADE
split-complementary
#BA6EDE #CADE6E #6EDE82
monochromatic
#8027AB #A23CD3 #BA6EDE #D2A0E9 #E9D2F5

Accessibility & contrast

On white

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

On black

6.37
#BA6EDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6EDE
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6EDE#FFFFFF#000000##000000
##BA6EDE1.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5489E2
Deuteranopia (green-blind)
#6B90DB
Tritanopia (blue-blind)
#B7809C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ba6ede;
/* rgb */ color: rgb(186, 110, 222);
/* oklch */ color: oklch(66.6% 0.175 313.9);
Tailwind
colors: {
  custom: {
    50: '#d19ae9',
    500: '#ba6ede',
    950: '#000000',
  },
}
SCSS
$custom: #ba6ede;
$custom-light: #d19ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6ede",
  "rgb": {
    "r": 186,
    "g": 110,
    "b": 222
  },
  "hsl": {
    "h": 280.714,
    "s": 62.921,
    "l": 65.098
  },
  "oklch": {
    "l": 0.66564,
    "c": 0.17545,
    "h": 313.9
  },
  "luminance": 0.26865
}

Semantic roles & 50–950 ramp

primary
#BA6EDE
secondary
#CDE7C1
accent
#CB1B53
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #BA6EDE

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

Preview Lab → · Contrast checker → · Palette generator →

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