#BA68F6#BA68F6

#BA68F6 is a light, highly saturated violet. Relative luminance 0.270; OKLCH L 67.1% C 0.210 H 308.4°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#BA68F6
RGBrgb(186, 104, 246)
HSLhsl(275, 89%, 69%)
HSVhsv(275, 58%, 96%)
CMYKcmyk(24.4%, 57.7%, 0%, 3.5%)
CIE-LABlab(58.97, 57.19, -58.56)
CIE-LCHlch(58.97, 81.85, 314.32°)
OKLaboklab(67.07% 0.1307 -0.1649)
OKLCHoklch(67.07% 0.21 308.4)
XYZxyz(41.8312, 26.9942, 90.1776)
Luminance0.2699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA68F6 #A4F668
analogous
#7368F6 #BA68F6 #F668EB
triadic
#BA68F6 #F6BA68 #68F6BA
tetradic
#BA68F6 #F67368 #A4F668 #68EBF6
square
#BA68F6 #F67368 #A4F668 #68EBF6
split-complementary
#BA68F6 #EBF668 #68F673
monochromatic
#810DD7 #A02EF3 #BA68F6 #D4A2F9 #EFDCFD

Accessibility & contrast

On white

3.28
#BA68F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#BA68F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA68F6
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA68F6#FFFFFF#000000##000000
##BA68F61.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#328BFB
Deuteranopia (green-blind)
#548FF3
Tritanopia (blue-blind)
#B183A5
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ba68f6;
/* rgb */ color: rgb(186, 104, 246);
/* oklch */ color: oklch(67.1% 0.210 308.4);
Tailwind
colors: {
  custom: {
    50: '#d297fa',
    500: '#ba68f6',
    950: '#000000',
  },
}
SCSS
$custom: #ba68f6;
$custom-light: #d297fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ba68f6",
  "rgb": {
    "r": 186,
    "g": 104,
    "b": 246
  },
  "hsl": {
    "h": 274.648,
    "s": 88.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.67065,
    "c": 0.21045,
    "h": 308.4
  },
  "luminance": 0.26994
}

Semantic roles & 50–950 ramp

primary
#BA68F6
secondary
#DAF2C8
accent
#E50061
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #BA68F6

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

Preview Lab → · Contrast checker → · Palette generator →

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