#BA5EDA#BA5EDA

#BA5EDA is a light, vivid purple. Relative luminance 0.235; OKLCH L 64.1% C 0.196 H 316.6°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#BA5EDA
RGBrgb(186, 94, 218)
HSLhsl(285, 63%, 61%)
HSVhsv(285, 57%, 85%)
CMYKcmyk(14.7%, 56.9%, 0%, 14.5%)
CIE-LABlab(55.59, 56.19, -48.28)
CIE-LCHlch(55.59, 74.08, 319.33°)
OKLaboklab(64.1% 0.1424 -0.1348)
OKLCHoklch(64.1% 0.196 316.6)
XYZxyz(36.9054, 23.5078, 68.9095)
Luminance0.2351 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5EDA #7EDA5E
analogous
#7C5EDA #BA5EDA #DA5EBC
triadic
#BA5EDA #DABA5E #5EDABA
tetradic
#BA5EDA #DA7C5E #7EDA5E #5EBCDA
square
#BA5EDA #DA7C5E #7EDA5E #5EBCDA
split-complementary
#BA5EDA #BCDA5E #5EDA7C
monochromatic
#7C239A #A32FCC #BA5EDA #CF90E5 #E5C2F1

Accessibility & contrast

On white

3.68
#BA5EDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#BA5EDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5EDA
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5EDA#FFFFFF#000000##000000
##BA5EDA1.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F7FDE
Deuteranopia (green-blind)
#6088D7
Tritanopia (blue-blind)
#B97293
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ba5eda;
/* rgb */ color: rgb(186, 94, 218);
/* oklch */ color: oklch(64.1% 0.196 316.6);
Tailwind
colors: {
  custom: {
    50: '#d190e6',
    500: '#ba5eda',
    950: '#000000',
  },
}
SCSS
$custom: #ba5eda;
$custom-light: #d190e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5eda",
  "rgb": {
    "r": 186,
    "g": 94,
    "b": 218
  },
  "hsl": {
    "h": 284.516,
    "s": 62.626,
    "l": 61.176
  },
  "oklch": {
    "l": 0.641,
    "c": 0.19607,
    "h": 316.6
  },
  "luminance": 0.23506
}

Semantic roles & 50–950 ramp

primary
#BA5EDA
secondary
#BFE1B3
accent
#CA1B48
background
#FDF9FE
surface
#FAF1FC
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #BA5EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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