#BA5EEE#BA5EEE

#BA5EEE is a light, highly saturated violet. Relative luminance 0.246; OKLCH L 65.3% C 0.216 H 311.3°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#BA5EEE
RGBrgb(186, 94, 238)
HSLhsl(278, 81%, 65%)
HSVhsv(278, 61%, 93%)
CMYKcmyk(21.8%, 60.5%, 0%, 6.7%)
CIE-LABlab(56.70, 60.33, -57.74)
CIE-LCHlch(56.70, 83.51, 316.26°)
OKLaboklab(65.27% 0.1427 -0.1625)
OKLCHoklch(65.27% 0.216 311.3)
XYZxyz(39.6822, 24.6185, 83.5338)
Luminance0.2462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5EEE #92EE5E
analogous
#725EEE #BA5EEE #EE5EDA
triadic
#BA5EEE #EEBA5E #5EEEBA
tetradic
#BA5EEE #EE725E #92EE5E #5EDAEE
square
#BA5EEE #EE725E #92EE5E #5EDAEE
split-complementary
#BA5EEE #DAEE5E #5EEE72
monochromatic
#8014BE #A227E8 #BA5EEE #D295F4 #E9CDFA

Accessibility & contrast

On white

3.55
#BA5EEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#BA5EEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5EEE
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5EEE#FFFFFF#000000##000000
##BA5EEE1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2484F3
Deuteranopia (green-blind)
#518AEB
Tritanopia (blue-blind)
#B4799E
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ba5eee;
/* rgb */ color: rgb(186, 94, 238);
/* oklch */ color: oklch(65.3% 0.216 311.3);
Tailwind
colors: {
  custom: {
    50: '#d290f4',
    500: '#ba5eee',
    950: '#000000',
  },
}
SCSS
$custom: #ba5eee;
$custom-light: #d290f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5eee",
  "rgb": {
    "r": 186,
    "g": 94,
    "b": 238
  },
  "hsl": {
    "h": 278.333,
    "s": 80.899,
    "l": 65.098
  },
  "oklch": {
    "l": 0.65267,
    "c": 0.21627,
    "h": 311.3
  },
  "luminance": 0.24618
}

Semantic roles & 50–950 ramp

primary
#BA5EEE
secondary
#CDECBB
accent
#DD0855
background
#FDF9FF
surface
#FAF1FE
border
#D3CBD6
text
#140D17
muted
#837E85

Preview Lab

Preview with #BA5EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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