#BA5CF1#BA5CF1

#BA5CF1 is a light, highly saturated violet. Relative luminance 0.244; OKLCH L 65.2% C 0.222 H 310.8°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#BA5CF1
RGBrgb(186, 92, 241)
HSLhsl(278, 84%, 65%)
HSVhsv(278, 62%, 95%)
CMYKcmyk(22.8%, 61.8%, 0%, 5.5%)
CIE-LABlab(56.53, 61.91, -59.69)
CIE-LCHlch(56.53, 86.00, 316.05°)
OKLaboklab(65.2% 0.145 -0.1682)
OKLCHoklch(65.2% 0.222 310.8)
XYZxyz(39.9510, 24.4451, 85.8158)
Luminance0.2444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5CF1 #93F15C
analogous
#6F5CF1 #BA5CF1 #F15CDE
triadic
#BA5CF1 #F1BA5C #5CF1BA
tetradic
#BA5CF1 #F16F5C #93F15C #5CDEF1
square
#BA5CF1 #F16F5C #93F15C #5CDEF1
split-complementary
#BA5CF1 #DEF15C #5CF16F
monochromatic
#8111C2 #A224EC #BA5CF1 #D294F6 #EACDFB

Accessibility & contrast

On white

3.57
#BA5CF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#BA5CF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5CF1
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5CF1#FFFFFF#000000##000000
##BA5CF11.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1483F6
Deuteranopia (green-blind)
#4C89EE
Tritanopia (blue-blind)
#B3799E
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ba5cf1;
/* rgb */ color: rgb(186, 92, 241);
/* oklch */ color: oklch(65.2% 0.222 310.8);
Tailwind
colors: {
  custom: {
    50: '#d28ff6',
    500: '#ba5cf1',
    950: '#000000',
  },
}
SCSS
$custom: #ba5cf1;
$custom-light: #d28ff6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5cf1",
  "rgb": {
    "r": 186,
    "g": 92,
    "b": 241
  },
  "hsl": {
    "h": 277.852,
    "s": 84.181,
    "l": 65.294
  },
  "oklch": {
    "l": 0.65199,
    "c": 0.22206,
    "h": 310.8
  },
  "luminance": 0.24444
}

Semantic roles & 50–950 ramp

primary
#BA5CF1
secondary
#CEEEBB
accent
#E10556
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #BA5CF1

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

Preview Lab → · Contrast checker → · Palette generator →

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