#BA68F5#BA68F5

#BA68F5 is a light, highly saturated violet. Relative luminance 0.269; OKLCH L 67.0% C 0.209 H 308.6°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#BA68F5
RGBrgb(186, 104, 245)
HSLhsl(275, 88%, 68%)
HSVhsv(275, 58%, 96%)
CMYKcmyk(24.1%, 57.6%, 0%, 3.9%)
CIE-LABlab(58.91, 56.97, -58.10)
CIE-LCHlch(58.91, 81.37, 314.44°)
OKLaboklab(67.01% 0.1307 -0.1636)
OKLCHoklch(67.01% 0.209 308.6)
XYZxyz(41.6782, 26.9329, 89.3715)
Luminance0.2693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA68F5 #A3F568
analogous
#7368F5 #BA68F5 #F568E9
triadic
#BA68F5 #F5BA68 #68F5BA
tetradic
#BA68F5 #F57368 #A3F568 #68E9F5
square
#BA68F5 #F57368 #A3F568 #68E9F5
split-complementary
#BA68F5 #E9F568 #68F573
monochromatic
#810ED5 #A02FF1 #BA68F5 #D4A1F9 #EEDBFD

Accessibility & contrast

On white

3.29
#BA68F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#BA68F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA68F5
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA68F5#FFFFFF#000000##000000
##BA68F51.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#338AFA
Deuteranopia (green-blind)
#558FF2
Tritanopia (blue-blind)
#B283A5
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ba68f5;
/* rgb */ color: rgb(186, 104, 245);
/* oklch */ color: oklch(67.0% 0.209 308.6);
Tailwind
colors: {
  custom: {
    50: '#d296f9',
    500: '#ba68f5',
    950: '#000000',
  },
}
SCSS
$custom: #ba68f5;
$custom-light: #d296f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba68f5",
  "rgb": {
    "r": 186,
    "g": 104,
    "b": 245
  },
  "hsl": {
    "h": 274.894,
    "s": 87.578,
    "l": 68.431
  },
  "oklch": {
    "l": 0.67006,
    "c": 0.20938,
    "h": 308.6
  },
  "luminance": 0.26932
}

Semantic roles & 50–950 ramp

primary
#BA68F5
secondary
#D9F2C7
accent
#E40160
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #BA68F5

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

Preview Lab → · Contrast checker → · Palette generator →

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