#BA68FB#BA68FB

#BA68FB is a light, highly saturated violet. Relative luminance 0.273; OKLCH L 67.4% C 0.216 H 307.3°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#BA68FB
RGBrgb(186, 104, 251)
HSLhsl(273, 95%, 70%)
HSVhsv(273, 59%, 98%)
CMYKcmyk(25.9%, 58.6%, 0%, 1.6%)
CIE-LABlab(59.26, 58.29, -60.87)
CIE-LCHlch(59.26, 84.28, 313.76°)
OKLaboklab(67.37% 0.1307 -0.1717)
OKLCHoklch(67.37% 0.216 307.3)
XYZxyz(42.6090, 27.3053, 94.2739)
Luminance0.2731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA68FB #A9FB68
analogous
#7068FB #BA68FB #FB68F3
triadic
#BA68FB #FBBA68 #68FBBA
tetradic
#BA68FB #FB7068 #A9FB68 #68F3FB
square
#BA68FB #FB7068 #A9FB68 #68F3FB
split-complementary
#BA68FB #F3FB68 #68FB70
monochromatic
#8106E3 #9F2CF9 #BA68FB #D5A4FD #F0DFFE

Accessibility & contrast

On white

3.25
#BA68FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#BA68FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA68FB
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA68FB#FFFFFF#000000##000000
##BA68FB1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A8CFF
Deuteranopia (green-blind)
#508FF8
Tritanopia (blue-blind)
#B085A8
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ba68fb;
/* rgb */ color: rgb(186, 104, 251);
/* oklch */ color: oklch(67.4% 0.216 307.3);
Tailwind
colors: {
  custom: {
    50: '#d297fd',
    500: '#ba68fb',
    950: '#000000',
  },
}
SCSS
$custom: #ba68fb;
$custom-light: #d297fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba68fb",
  "rgb": {
    "r": 186,
    "g": 104,
    "b": 251
  },
  "hsl": {
    "h": 273.469,
    "s": 94.839,
    "l": 69.608
  },
  "oklch": {
    "l": 0.67367,
    "c": 0.21579,
    "h": 307.3
  },
  "luminance": 0.27305
}

Semantic roles & 50–950 ramp

primary
#BA68FB
secondary
#DDF4CA
accent
#E60065
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #BA68FB

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

Preview Lab → · Contrast checker → · Palette generator →

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