#BA5EF0#BA5EF0

#BA5EF0 is a light, highly saturated violet. Relative luminance 0.247; OKLCH L 65.4% C 0.218 H 310.8°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#BA5EF0
RGBrgb(186, 94, 240)
HSLhsl(278, 83%, 65%)
HSVhsv(278, 61%, 94%)
CMYKcmyk(22.5%, 60.8%, 0%, 5.9%)
CIE-LABlab(56.82, 60.75, -58.67)
CIE-LCHlch(56.82, 84.46, 316.00°)
OKLaboklab(65.39% 0.1427 -0.1652)
OKLCHoklch(65.39% 0.218 310.8)
XYZxyz(39.9776, 24.7366, 85.0899)
Luminance0.2474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5EF0 #94F05E
analogous
#715EF0 #BA5EF0 #F05EDD
triadic
#BA5EF0 #F0BA5E #5EF0BA
tetradic
#BA5EF0 #F0715E #94F05E #5EDDF0
square
#BA5EF0 #F0715E #94F05E #5EDDF0
split-complementary
#BA5EF0 #DDF05E #5EF071
monochromatic
#8112C2 #A226EB #BA5EF0 #D296F5 #EACEFA

Accessibility & contrast

On white

3.53
#BA5EF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#BA5EF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5EF0
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5EF0#FFFFFF#000000##000000
##BA5EF01.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2084F5
Deuteranopia (green-blind)
#4F8AED
Tritanopia (blue-blind)
#B37A9F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ba5ef0;
/* rgb */ color: rgb(186, 94, 240);
/* oklch */ color: oklch(65.4% 0.218 310.8);
Tailwind
colors: {
  custom: {
    50: '#d290f6',
    500: '#ba5ef0',
    950: '#000000',
  },
}
SCSS
$custom: #ba5ef0;
$custom-light: #d290f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5ef0",
  "rgb": {
    "r": 186,
    "g": 94,
    "b": 240
  },
  "hsl": {
    "h": 277.808,
    "s": 82.955,
    "l": 65.49
  },
  "oklch": {
    "l": 0.65388,
    "c": 0.2183,
    "h": 310.8
  },
  "luminance": 0.24736
}

Semantic roles & 50–950 ramp

primary
#BA5EF0
secondary
#CFEDBC
accent
#DF0656
background
#FDF9FF
surface
#FAF1FE
border
#D3CBD6
text
#140D17
muted
#837E85

Preview Lab

Preview with #BA5EF0

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

Preview Lab → · Contrast checker → · Palette generator →

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