#BA6BF8#BA6BF8

#BA6BF8 is a light, highly saturated violet. Relative luminance 0.277; OKLCH L 67.6% C 0.208 H 307.6°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#BA6BF8
RGBrgb(186, 107, 248)
HSLhsl(274, 91%, 70%)
HSVhsv(274, 57%, 97%)
CMYKcmyk(25%, 56.9%, 0%, 2.7%)
CIE-LABlab(59.65, 56.12, -58.59)
CIE-LCHlch(59.65, 81.13, 313.77°)
OKLaboklab(67.6% 0.1271 -0.165)
OKLCHoklch(67.6% 0.208 307.6)
XYZxyz(42.4472, 27.7323, 91.9055)
Luminance0.2773 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6BF8 #A9F86B
analogous
#746BF8 #BA6BF8 #F86BF0
triadic
#BA6BF8 #F8BA6B #6BF8BA
tetradic
#BA6BF8 #F8746B #A9F86B #6BF0F8
square
#BA6BF8 #F8746B #A9F86B #6BF0F8
split-complementary
#BA6BF8 #F0F86B #6BF874
monochromatic
#810BDE #9F31F5 #BA6BF8 #D5A5FB #F0E0FE

Accessibility & contrast

On white

3.21
#BA6BF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#BA6BF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6BF8
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6BF8#FFFFFF#000000##000000
##BA6BF81.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#368DFD
Deuteranopia (green-blind)
#5690F5
Tritanopia (blue-blind)
#B186A8
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ba6bf8;
/* rgb */ color: rgb(186, 107, 248);
/* oklch */ color: oklch(67.6% 0.208 307.6);
Tailwind
colors: {
  custom: {
    50: '#d298fb',
    500: '#ba6bf8',
    950: '#000000',
  },
}
SCSS
$custom: #ba6bf8;
$custom-light: #d298fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6bf8",
  "rgb": {
    "r": 186,
    "g": 107,
    "b": 248
  },
  "hsl": {
    "h": 273.617,
    "s": 90.968,
    "l": 69.608
  },
  "oklch": {
    "l": 0.67597,
    "c": 0.20827,
    "h": 307.6
  },
  "luminance": 0.27732
}

Semantic roles & 50–950 ramp

primary
#BA6BF8
secondary
#DDF4CB
accent
#E60065
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #BA6BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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