#BA68FA#BA68FA

#BA68FA is a light, highly saturated violet. Relative luminance 0.272; OKLCH L 67.3% C 0.215 H 307.5°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#BA68FA
RGBrgb(186, 104, 250)
HSLhsl(274, 94%, 69%)
HSVhsv(274, 58%, 98%)
CMYKcmyk(25.6%, 58.4%, 0%, 2%)
CIE-LABlab(59.20, 58.07, -60.41)
CIE-LCHlch(59.20, 83.79, 313.87°)
OKLaboklab(67.31% 0.1307 -0.1703)
OKLCHoklch(67.31% 0.215 307.5)
XYZxyz(42.4518, 27.2424, 93.4459)
Luminance0.2724 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA68FA #A8FA68
analogous
#7168FA #BA68FA #FA68F1
triadic
#BA68FA #FABA68 #68FABA
tetradic
#BA68FA #FA7168 #A8FA68 #68F1FA
square
#BA68FA #FA7168 #A8FA68 #68F1FA
split-complementary
#BA68FA #F1FA68 #68FA71
monochromatic
#8107E0 #9F2DF8 #BA68FA #D5A3FC #F0DEFE

Accessibility & contrast

On white

3.26
#BA68FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#BA68FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA68FA
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA68FA#FFFFFF#000000##000000
##BA68FA1.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B8BFF
Deuteranopia (green-blind)
#518FF7
Tritanopia (blue-blind)
#B084A7
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ba68fa;
/* rgb */ color: rgb(186, 104, 250);
/* oklch */ color: oklch(67.3% 0.215 307.5);
Tailwind
colors: {
  custom: {
    50: '#d297fd',
    500: '#ba68fa',
    950: '#000000',
  },
}
SCSS
$custom: #ba68fa;
$custom-light: #d297fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba68fa",
  "rgb": {
    "r": 186,
    "g": 104,
    "b": 250
  },
  "hsl": {
    "h": 273.699,
    "s": 93.59,
    "l": 69.412
  },
  "oklch": {
    "l": 0.67306,
    "c": 0.21472,
    "h": 307.5
  },
  "luminance": 0.27242
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA68FA

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

Preview Lab → · Contrast checker → · Palette generator →

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