#BA5DF0#BA5DF0

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

Color values

HEX#BA5DF0
RGBrgb(186, 93, 240)
HSLhsl(278, 83%, 65%)
HSVhsv(278, 61%, 94%)
CMYKcmyk(22.5%, 61.2%, 0%, 5.9%)
CIE-LABlab(56.64, 61.23, -58.95)
CIE-LCHlch(56.64, 84.99, 316.09°)
OKLaboklab(65.26% 0.1439 -0.166)
OKLCHoklch(65.26% 0.22 310.9)
XYZxyz(39.8893, 24.5600, 85.0604)
Luminance0.2456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5DF0 #93F05D
analogous
#705DF0 #BA5DF0 #F05DDD
triadic
#BA5DF0 #F0BA5D #5DF0BA
tetradic
#BA5DF0 #F0705D #93F05D #5DDDF0
square
#BA5DF0 #F0705D #93F05D #5DDDF0
split-complementary
#BA5DF0 #DDF05D #5DF070
monochromatic
#8112C1 #A225EB #BA5DF0 #D295F5 #EACDFA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA5DF0#FFFFFF#000000##000000
##BA5DF01.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)
#1C83F5
Deuteranopia (green-blind)
#4E8AED
Tritanopia (blue-blind)
#B3799E
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ba5df0;
/* rgb */ color: rgb(186, 93, 240);
/* oklch */ color: oklch(65.3% 0.220 310.9);
Tailwind
colors: {
  custom: {
    50: '#d290f6',
    500: '#ba5df0',
    950: '#000000',
  },
}
SCSS
$custom: #ba5df0;
$custom-light: #d290f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5df0",
  "rgb": {
    "r": 186,
    "g": 93,
    "b": 240
  },
  "hsl": {
    "h": 277.959,
    "s": 83.051,
    "l": 65.294
  },
  "oklch": {
    "l": 0.65262,
    "c": 0.21968,
    "h": 310.9
  },
  "luminance": 0.24559
}

Semantic roles & 50–950 ramp

primary
#BA5DF0
secondary
#CEEDBC
accent
#DF0656
background
#FDF9FF
surface
#FAF1FE
border
#D3CBD6
text
#150D17
muted
#837E85

Preview Lab

Preview with #BA5DF0

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

Preview Lab → · Contrast checker → · Palette generator →

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