#BA68F4#BA68F4

#BA68F4 is a light, highly saturated violet. Relative luminance 0.269; OKLCH L 66.9% C 0.208 H 308.9°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#BA68F4
RGBrgb(186, 104, 244)
HSLhsl(275, 86%, 68%)
HSVhsv(275, 57%, 96%)
CMYKcmyk(23.8%, 57.4%, 0%, 4.3%)
CIE-LABlab(58.86, 56.75, -57.64)
CIE-LCHlch(58.86, 80.88, 314.55°)
OKLaboklab(66.95% 0.1307 -0.1622)
OKLCHoklch(66.95% 0.208 308.9)
XYZxyz(41.5259, 26.8720, 88.5697)
Luminance0.2687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA68F4 #A2F468
analogous
#7468F4 #BA68F4 #F468E8
triadic
#BA68F4 #F4BA68 #68F4BA
tetradic
#BA68F4 #F47468 #A2F468 #68E8F4
square
#BA68F4 #F47468 #A2F468 #68E8F4
split-complementary
#BA68F4 #E8F468 #68F474
monochromatic
#820FD2 #A02FF0 #BA68F4 #D4A1F8 #EEDAFC

Accessibility & contrast

On white

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

On black

6.37
#BA68F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA68F4
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA68F4#FFFFFF#000000##000000
##BA68F41.003.296.376.37
#FFFFFF3.291.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#358AF9
Deuteranopia (green-blind)
#568FF1
Tritanopia (blue-blind)
#B282A4
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ba68f4;
/* rgb */ color: rgb(186, 104, 244);
/* oklch */ color: oklch(66.9% 0.208 308.9);
Tailwind
colors: {
  custom: {
    50: '#d296f8',
    500: '#ba68f4',
    950: '#000000',
  },
}
SCSS
$custom: #ba68f4;
$custom-light: #d296f8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba68f4",
  "rgb": {
    "r": 186,
    "g": 104,
    "b": 244
  },
  "hsl": {
    "h": 275.143,
    "s": 86.42,
    "l": 68.235
  },
  "oklch": {
    "l": 0.66946,
    "c": 0.20831,
    "h": 308.9
  },
  "luminance": 0.26871
}

Semantic roles & 50–950 ramp

primary
#BA68F4
secondary
#D8F1C7
accent
#E30360
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #BA68F4

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

Preview Lab → · Contrast checker → · Palette generator →

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