#BA5EED#BA5EED

#BA5EED is a light, highly saturated violet. Relative luminance 0.246; OKLCH L 65.2% C 0.215 H 311.5°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#BA5EED
RGBrgb(186, 94, 237)
HSLhsl(279, 80%, 65%)
HSVhsv(279, 60%, 93%)
CMYKcmyk(21.5%, 60.3%, 0%, 7.1%)
CIE-LABlab(56.64, 60.12, -57.28)
CIE-LCHlch(56.64, 83.03, 316.39°)
OKLaboklab(65.21% 0.1427 -0.1611)
OKLCHoklch(65.21% 0.215 311.5)
XYZxyz(39.5357, 24.5599, 82.7622)
Luminance0.2456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5EED #91ED5E
analogous
#725EED #BA5EED #ED5ED9
triadic
#BA5EED #EDBA5E #5EEDBA
tetradic
#BA5EED #ED725E #91ED5E #5ED9ED
square
#BA5EED #ED725E #91ED5E #5ED9ED
split-complementary
#BA5EED #D9ED5E #5EED72
monochromatic
#8015BC #A227E7 #BA5EED #D295F3 #E9CCF9

Accessibility & contrast

On white

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

On black

5.91
#BA5EED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5EED
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5EED#FFFFFF#000000##000000
##BA5EED1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2683F1
Deuteranopia (green-blind)
#528AEA
Tritanopia (blue-blind)
#B4799D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ba5eed;
/* rgb */ color: rgb(186, 94, 237);
/* oklch */ color: oklch(65.2% 0.215 311.5);
Tailwind
colors: {
  custom: {
    50: '#d290f3',
    500: '#ba5eed',
    950: '#000000',
  },
}
SCSS
$custom: #ba5eed;
$custom-light: #d290f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5eed",
  "rgb": {
    "r": 186,
    "g": 94,
    "b": 237
  },
  "hsl": {
    "h": 278.601,
    "s": 79.888,
    "l": 64.902
  },
  "oklch": {
    "l": 0.65206,
    "c": 0.21525,
    "h": 311.5
  },
  "luminance": 0.24559
}

Semantic roles & 50–950 ramp

primary
#BA5EED
secondary
#CCECBB
accent
#DC0955
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #BA5EED

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

Preview Lab → · Contrast checker → · Palette generator →

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